boost::text::optional_ref<bool, false>
// In header: <boost/text/trie.hpp> struct optional_ref<bool, false> { // construct/copy/destruct optional_ref(); optional_ref(bool &); template<typename U> auto operator=(U &&); // public member functions explicit operator bool() const; explicit operator bool(); bool const & operator*() const; bool const * operator->() const; bool & operator*(); bool * operator->(); };