Compare commits

..

1 Commits

Author SHA1 Message Date
3781ee6709 Branch at revision 46530
[SVN r46531]
2008-06-19 18:57:10 +00:00
3 changed files with 4 additions and 12 deletions

View File

@ -6,11 +6,4 @@ doxygen reference : [ glob ../../../boost/logic/tribool.hpp ]
[ glob ../../../boost/logic/tribool_fwd.hpp ]
[ glob ../../../boost/logic/tribool_io.hpp ]
;
boostbook tribool
:
tribool.boostbook
:
<xsl:param>boost.root=../../../..
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
<dependency>reference
;
boostbook tribool : tribool.boostbook ;

View File

@ -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; }

View File

@ -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_; }