mirror of
https://github.com/boostorg/logic.git
synced 2025-12-23 23:28:18 +01:00
Compare commits
15 Commits
boost-1.40
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a2b8cb11a | ||
|
|
62e9529e09 | ||
|
|
6c6cc7dce3 | ||
|
|
5aaba307a6 | ||
|
|
a582587b22 | ||
|
|
246d1ee6df | ||
|
|
233cfca75c | ||
|
|
44aa483237 | ||
|
|
84313760a5 | ||
|
|
9df9f3daf6 | ||
|
|
24117db3ae | ||
|
|
15b34d0bf4 | ||
|
|
d1f46c8f98 | ||
|
|
23af176127 | ||
|
|
196865d37f |
@@ -1,27 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
#----------------------------------------------------------------------------
|
||||
# This file was automatically generated from the original CMakeLists.txt file
|
||||
# Add a variable to hold the headers for the library
|
||||
set (lib_headers
|
||||
logic
|
||||
)
|
||||
|
||||
# Add a library target to the build system
|
||||
boost_library_project(
|
||||
logic
|
||||
# SRCDIRS
|
||||
TESTDIRS test
|
||||
HEADERS ${lib_headers}
|
||||
# DOCDIRS
|
||||
# DESCRIPTION
|
||||
MODULARIZED
|
||||
# AUTHORS
|
||||
# MAINTAINERS
|
||||
)
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
*
|
||||
* \throws nothrow
|
||||
*/
|
||||
tribool(bool value) : value(value? true_value : false_value) {}
|
||||
tribool(bool initial_value) : value(initial_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 dummy = \
|
||||
boost::logic::detail::indeterminate_t = \
|
||||
boost::logic::detail::indeterminate_t()) \
|
||||
{ return x.value == boost::logic::tribool::indeterminate_value; }
|
||||
|
||||
|
||||
@@ -140,7 +140,8 @@ 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& name) : name_(name) {}
|
||||
explicit indeterminate_name(const string_type& initial_name)
|
||||
: name_(initial_name) {}
|
||||
|
||||
/// Returns the name for the indeterminate value
|
||||
string_type name() const { return name_; }
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
boost_module(logic DEPENDS config detail)
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
boost_additional_test_dependencies(logic BOOST_DEPENDS test)
|
||||
|
||||
|
||||
boost_test_run(tribool_test)
|
||||
boost_test_run(tribool_rename_test)
|
||||
boost_test_run(tribool_io_test)
|
||||
Reference in New Issue
Block a user