Class StrictBool#

Class Documentation#

class StrictBool#

A type that forbids implicit conversion from int to bool.

This type is used to prevent implicit conversion from int to bool.

Public Functions

inline StrictBool(bool value)#

Constructor.

Parameters:

value – The value of the strict bool.