Kenji Arai / TYBLE16_mbedlized_os5_several_examples_1st

Dependencies:   nRF51_Vdd TextLCD BME280

Embed: (wiki syntax)

« Back to documentation index

SafeBool.h File Reference

SafeBool.h File Reference

Go to the source code of this file.

Data Structures

class  base
 Base class of all SafeBool instances. More...
class  SafeBool< T >
 Safe conversion of objects in boolean context. More...

Namespaces

namespace  SafeBool_
 

Private namespace used to host details of the SafeBool implementation.


Functions

template<typename T , typename U >
void operator== (const SafeBool< T > &lhs, const SafeBool< U > &rhs)
 Avoid conversion to bool between different classes.
template<typename T , typename U >
void operator!= (const SafeBool< T > &lhs, const SafeBool< U > &rhs)
 Avoid conversion to bool between different classes.

Detailed Description

Definition in file SafeBool.h.