General Utility Library for C++14  2.11
Classes | Namespaces | Functions
utility.h File Reference

Detailed Description

Declaration of the in_place_t family of types and constants and of the monostate type.

General Utility Library Contributors
Created on March 31, 2023

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see

#include <functional>
Include dependency graph for utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  gul14::in_place_t
 A type for constructor disambiguation, used by gul14::expected, gul14::optional, and gul14::variant. More...
struct  gul14::in_place_type_t< T >
 A type for constructor disambiguation. More...
struct  gul14::in_place_index_t< I >
 A type for constructor disambiguation. More...
struct  gul14::monostate
 A well-behaved empty type for use with gul14::variant and gul14::expected. More...
struct  std::hash< gul14::monostate >
 Specialization of std::hash for gul14::monostate. More...


 Namespace gul14 contains all functions and classes of the General Utility Library.


constexpr bool gul14::operator< (monostate, monostate) noexcept
constexpr bool gul14::operator> (monostate, monostate) noexcept
constexpr bool gul14::operator<= (monostate, monostate) noexcept
constexpr bool gul14::operator>= (monostate, monostate) noexcept
constexpr bool gul14::operator== (monostate, monostate) noexcept
constexpr bool gul14::operator!= (monostate, monostate) noexcept