MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / operator+

Function operator+

tests/Issue101.cpp:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template <typename T1, T1 v1, typename T2, T2 v2>
19constexpr constant<(v1+v2)> operator+(typed_constant<T1,v1>,typed_constant<T2,v2>) { return {};}
20template <typename T1, T1 v1, typename T2, T2 v2>
21constexpr constant<(v1-v2)> operator-(typed_constant<T1,v1>,typed_constant<T2,v2>) { return {};}
22template <typename T1, T1 v1, typename T2, T2 v2>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected