Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Class template indeterminate_name

boost::logic::indeterminate_name — A locale facet specifying the name of the indeterminate value of a tribool.


// In header: <boost/logic/tribool_io.hpp>

template<typename CharT> 
class indeterminate_name {
  // types
  typedef CharT                      char_type;  
  typedef std::basic_string< CharT > string_type;

  // construct/copy/destruct
  indeterminate_name(const string_type &);

  // public member functions
  string_type name() const;
  static std::locale::id id;  // Uniquily identifies this facet with the locale. 


The facet is used to perform I/O on tribool values when std::boolalpha has been specified. This class template is only available if the C++ standard library implementation supports locales.

indeterminate_name public construct/copy/destruct

  1. indeterminate_name();
    Construct the facet with the default name.
  2. indeterminate_name(const string_type & name);
    Construct the facet with the given name for the indeterminate value.

indeterminate_name public member functions

  1. string_type name() const;
    Returns the name for the indeterminate value.