14 years ago
Highlights
I almost never use a debugger because: -I usually have a good idea of where the bug is; it's usually in the last code you wrote (assuming you're testing properly). The c…
14 years ago
14 years ago
14 years ago
I soon realized this after posting that reply and decided to go with the function overload. Extending the standard namespace is something I try to avoid, but I am interested in…
14 years ago
You could try changing the specialization to: template <> typename std::enable_if<std::is_arithmetic<mytype>::value, mytype>::type func(const mytype& x) no…
14 years ago
Latest Activity
See all in DiscussionsI almost never use a debugger because: -I usually have a good idea of where the bug is; it's usually …
14 years ago
I soon realized this after posting that reply and decided to go with the function overload. Extending the standard namespace …
14 years ago
You could try changing the specialization to: template <> typename std::enable_if<std::is_arithmetic<mytype>::value, mytype>::type func(const mytype& x) noexcept; I could try thi
14 years ago