MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / ConstAddT

Function ConstAddT

Test/ConstExpr.cpp:611–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610 template <typename T>
611 void ConstAddT()
612 {
613 static const T c = ConstAddTU< T, char >();
614 static const T sc = ConstAddTU< T, signed char >();
615 static const T uc = ConstAddTU< T, unsigned char >();
616 static const T ss = ConstAddTU< T, signed short >();
617 static const T us = ConstAddTU< T, unsigned short >();
618 static const T si = ConstAddTU< T, signed int >();
619 static const T ui = ConstAddTU< T, unsigned int >();
620 static const T sl = ConstAddTU< T, signed long >();
621 static const T ul = ConstAddTU< T, unsigned long >();
622 static const T sll = ConstAddTU< T, signed long long >();
623 static const T ull = ConstAddTU< T, unsigned long long >();
624 }
625
626 template <typename T>
627 _CONSTEXPR14 T PrefixInc(T i)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected