![]() |
Blaze 3.9
|
Header file for the IntegralConstant class template. More...
Go to the source code of this file.
Classes | |
struct | blaze::IntegralConstant< T, N > |
Generic wrapper for a compile time constant integral value. More... | |
Typedefs | |
template<bool B> | |
using | blaze::BoolConstant = IntegralConstant< bool, B > |
Generic wrapper for a compile time constant boolean value. More... | |
using | blaze::FalseType = BoolConstant< false > |
Type/value traits base class. More... | |
using | blaze::TrueType = BoolConstant< true > |
Type traits base class. More... | |
template<bool B> | |
using | blaze::Bool_t = IntegralConstant< bool, B > |
Compile time integral constant wrapper for bool. More... | |
template<char N> | |
using | blaze::Char_t = IntegralConstant< char, N > |
Compile time integral constant wrapper for char. More... | |
template<int N> | |
using | blaze::Int_t = IntegralConstant< int, N > |
Compile time integral constant wrapper for int. More... | |
template<long N> | |
using | blaze::Long_t = IntegralConstant< long, N > |
Compile time integral constant wrapper for long. More... | |
template<ptrdiff_t N> | |
using | blaze::Ptrdiff_t = IntegralConstant< ptrdiff_t, N > |
Compile time integral constant wrapper for ptrdiff_t. More... | |
template<size_t N> | |
using | blaze::Size_t = IntegralConstant< size_t, N > |
Compile time integral constant wrapper for size_t. More... | |
Functions | |
template<bool B> | |
constexpr BoolConstant<!B > | blaze::operator! (BoolConstant< B >) noexcept |
Logical NOT of a boolean constant. More... | |
template<bool B1, bool B2> | |
constexpr BoolConstant< B1 &&B2 > | blaze::operator&& (BoolConstant< B1 >, BoolConstant< B2 >) noexcept |
Logical AND of two boolean constants. More... | |
template<bool B1, bool B2> | |
constexpr BoolConstant< B1||B2 > | blaze::operator|| (BoolConstant< B1 >, BoolConstant< B2 >) noexcept |
Logical OR of two boolean constants. More... | |
Header file for the IntegralConstant class template.
Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
This file is part of the Blaze library. You can redistribute it and/or modify it under the terms of the New (Revised) BSD License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.