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

Function SignedOnly

Test/ConstExpr.cpp:639–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637
638 template <typename T>
639 _CONSTEXPR14 void SignedOnly()
640 {
641 static_assert(-SafeInt<T>((T)1), "operator -");
642 }
643
644 void TestSignedOnly()
645 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected