General Utility Library for C++17 25.4.1
Classes | Namespaces | Typedefs
traits.h File Reference

Detailed Description

Some metaprogramming traits for the General Utility Library.

Authors
General Utility Library Contributors
Date
Created on 20 August 2021

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 https://www.gnu.org/licenses/.

#include <functional>
#include <type_traits>
#include <utility>
#include "gul17/internal.h"
Include dependency graph for traits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gul17::IsContainerLike< T, typename >
 Helper type trait object to determine if a type is a container. More...
 

Namespaces

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

Typedefs

template<typename T >
using gul17::remove_cvref = typename std::remove_cv< std::remove_reference_t< T > >
 A template metafunction that removes const, volatile, and reference qualifiers from a type.
 
template<typename T >
using gul17::remove_cvref_t = typename remove_cvref< T >::type
 A template metafunction that removes const, volatile, and reference qualifiers from a type.