Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dcleblanc/SafeInt
/ PrefixInc
Function
PrefixInc
Test/ConstExpr.cpp:627–630 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
625
626
template <typename T>
627
_CONSTEXPR14 T PrefixInc(T i)
628
{
629
return ++SafeInt<T>(i);
630
}
631
632
template <typename T>
633
_CONSTEXPR14 T PostfixInc(T i)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected