C++ Utilities 5.25.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
TraitsTest Class Reference

The TraitsTest class tests parts of the Traits namespace which can not be evaluated at compile-time. More...

Inheritance diagram for TraitsTest:
[legend]
Collaboration diagram for TraitsTest:
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void testDereferenceMaybe ()
 Tests whether a smart pointer to a string can be treated like a normal string through the use of dereferenceMaybe().
 

Detailed Description

The TraitsTest class tests parts of the Traits namespace which can not be evaluated at compile-time.

Definition at line 116 of file traitstests.cpp.

Member Function Documentation

◆ setUp()

void TraitsTest::setUp ( )
inline

Definition at line 122 of file traitstests.cpp.

◆ tearDown()

void TraitsTest::tearDown ( )
inline

Definition at line 125 of file traitstests.cpp.

◆ testDereferenceMaybe()

void TraitsTest::testDereferenceMaybe ( )

Tests whether a smart pointer to a string can be treated like a normal string through the use of dereferenceMaybe().

Definition at line 137 of file traitstests.cpp.


The documentation for this class was generated from the following file: