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