mirror of
https://github.com/boostorg/logic.git
synced 2025-12-23 15:18:12 +01:00
Compare commits
13 Commits
svn-branch
...
boost-1.41
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd80262073 | ||
|
|
b86917fe43 | ||
|
|
987080a8c7 | ||
|
|
bd737d03b0 | ||
|
|
58cd700623 | ||
|
|
951486c794 | ||
|
|
f1d8f513bf | ||
|
|
9db33f9dcf | ||
|
|
02caed268b | ||
|
|
5749fb9ef1 | ||
|
|
03a2600bf5 | ||
|
|
9e9489c7bd | ||
|
|
73cce598c7 |
@@ -93,7 +93,7 @@ public:
|
||||
*
|
||||
* \throws nothrow
|
||||
*/
|
||||
tribool(bool initial_value) : value(initial_value? true_value : false_value) {}
|
||||
tribool(bool value) : value(value? true_value : false_value) {}
|
||||
|
||||
/**
|
||||
* Construct a new 3-state boolean value with an indeterminate value.
|
||||
@@ -452,7 +452,7 @@ namespace boost {
|
||||
#define BOOST_TRIBOOL_THIRD_STATE(Name) \
|
||||
inline bool \
|
||||
Name(boost::logic::tribool x, \
|
||||
boost::logic::detail::indeterminate_t = \
|
||||
boost::logic::detail::indeterminate_t dummy = \
|
||||
boost::logic::detail::indeterminate_t()) \
|
||||
{ return x.value == boost::logic::tribool::indeterminate_value; }
|
||||
|
||||
|
||||
@@ -140,8 +140,7 @@ public:
|
||||
indeterminate_name() : name_(get_default_indeterminate_name<CharT>()) {}
|
||||
|
||||
/// Construct the facet with the given name for the indeterminate value
|
||||
explicit indeterminate_name(const string_type& initial_name)
|
||||
: name_(initial_name) {}
|
||||
explicit indeterminate_name(const string_type& name) : name_(name) {}
|
||||
|
||||
/// Returns the name for the indeterminate value
|
||||
string_type name() const { return name_; }
|
||||
|
||||
Reference in New Issue
Block a user