Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
TemplateUtilities.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <type_traits>
#include <variant>
#include "Stroika/Foundation/Common/Common.h"
#include "TemplateUtilities.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Common::LazyType< Cont, Ts >
 
struct  Stroika::Foundation::Common::Identity
 function object whose action is to map its argument, back to the same value it started with (identity function). More...
 

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Common
 
namespace  Stroika::Foundation::Common::Private_
 

Typedefs

template<typename T >
using Stroika::Foundation::Common::DifferenceType = typename conditional_t< is_enum_v< T >, LazyType< underlying_type_t, T >, LazyType< Private_::BaseDifferenceType_, T > >::type
 
template<typename T >
using Stroika::Foundation::Common::UnsignedOfIf = typename conditional_t< is_integral_v< T >, LazyType< make_unsigned_t, T >, conditional< true, T, T > >::type
 
template<size_t N, class Type >
using Stroika::Foundation::Common::RepeatedTuple_t = typename Private_::my_tuple< N, Type >::type
 same_as<RepeatedTuple_t<3,int>,tuple<int,int,int>>
 

Functions

template<typename T , typename... ARGS>
T & Stroika::Foundation::Common::Immortalize (ARGS... args)
 

Detailed Description

Note
Code-Status: Beta

Definition in file TemplateUtilities.h.