![]() |
Header file for the If class template. More...
Go to the source code of this file.
Classes | |
struct | blaze::IfTrue< Condition, T1, T2 > |
Compile time type selection.The IfTrue class template selects one of the two given types T1 and T2 depending on the Condition template argument. In case the Condition compile time constant expression evaluates to true, the member type definition Type is set to T1. In case Condition evaluates to false, Type is set to T2. More... | |
struct | blaze::If< T1, T2, T3 > |
Compile time type selection.The If alias declaration selects one of the two given types T2 and T3 depending on T1. In case T1::value evaluates to true, the member type definition Type is set to T2. In case T1::value evaluates to false, Type is set to T3. More... | |
Namespaces | |
blaze | |
Namespace of the Blaze C++ math library. | |
Typedefs | |
template<bool Condition, typename T1 , typename T2 > | |
using | blaze::IfTrue_ = typename IfTrue< Condition, T1, T2 >::Type |
Auxiliary alias declaration for the IfTrue class template.The IfTrue_ alias declaration provides a convenient shortcut to access the nested Type of the IfTrue class template. For instance, given the types C, T1, and T2 the following two type definitions are identical: More... | |
template<typename T1 , typename T2 , typename T3 > | |
using | blaze::If_ = typename If< T1, T2, T3 >::Type |
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient shortcut to access the nested Type of the If alias declaration. For instance, given the types T1, T2, and T3 the following two type definitions are identical: More... | |
Header file for the If class template.
Copyright (C) 2012-2018 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.