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

Function ConstMultiplyT

Test/ConstExpr.cpp:567–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565
566 template <typename T>
567 void ConstMultiplyT()
568 {
569 static const T c = ConstMultiplyTU< T, char >();
570 static const T sc = ConstMultiplyTU< T, signed char >();
571 static const T uc = ConstMultiplyTU< T, unsigned char >();
572 static const T ss = ConstMultiplyTU< T, signed short >();
573 static const T us = ConstMultiplyTU< T, unsigned short >();
574 static const T si = ConstMultiplyTU< T, signed int >();
575 static const T ui = ConstMultiplyTU< T, unsigned int >();
576 static const T sl = ConstMultiplyTU< T, signed long >();
577 static const T ul = ConstMultiplyTU< T, unsigned long >();
578 static const T sll = ConstMultiplyTU< T, signed long long >();
579 static const T ull = ConstMultiplyTU< T, unsigned long long >();
580 }
581
582 template <typename T, typename U>
583 _CONSTEXPR14 T ConstSubtractTU()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected