C++ Utilities  4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Functions
TestUtilities::Literals Namespace Reference

Contains literals to ease asserting with CPPUNIT_ASSERT_EQUAL. More...

Functions

constexpr std::size_t operator""_st (unsigned long long size)
 Literal for std::size_t to ease asserting std::size_t with CPPUNIT_ASSERT_EQUAL. More...
 
constexpr uint64 operator""_uint64 (unsigned long long size)
 Literal for uint64 to ease asserting uint64 with CPPUNIT_ASSERT_EQUAL. More...
 
constexpr int64 operator""_int64 (unsigned long long size)
 Literal for int64 to ease asserting int64 with CPPUNIT_ASSERT_EQUAL. More...
 

Detailed Description

Contains literals to ease asserting with CPPUNIT_ASSERT_EQUAL.

Function Documentation

◆ operator""_int64()

constexpr int64 TestUtilities::Literals::operator""_int64 ( unsigned long long  size)

Literal for int64 to ease asserting int64 with CPPUNIT_ASSERT_EQUAL.

Remarks
Just using "l"-suffix does not compile under 32-bit architecture!

Definition at line 291 of file testutils.h.

◆ operator""_st()

constexpr std::size_t TestUtilities::Literals::operator""_st ( unsigned long long  size)

Literal for std::size_t to ease asserting std::size_t with CPPUNIT_ASSERT_EQUAL.

Remarks
Just using "ul"-suffix does not compile under 32-bit architecture!

Definition at line 273 of file testutils.h.

◆ operator""_uint64()

constexpr uint64 TestUtilities::Literals::operator""_uint64 ( unsigned long long  size)

Literal for uint64 to ease asserting uint64 with CPPUNIT_ASSERT_EQUAL.

Remarks
Just using "ul"-suffix does not compile under 32-bit architecture!

Definition at line 282 of file testutils.h.