Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion include/boost/logic/tribool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ class tribool
* The actual stored value in this 3-state boolean, which may be false, true,
* or indeterminate.
*/
enum value_t { false_value, true_value, indeterminate_value } value;
enum value_t
#if !defined( BOOST_NO_CXX11_SCOPED_ENUMS )
: unsigned char
#endif
{ false_value, true_value, indeterminate_value } value;
};

// Check if the given tribool has an indeterminate value. Also doubles as a
Expand Down