¡@

Home 

c++ Programming Glossary: utility2

Can I use boost::enable_if on a member function?

http://stackoverflow.com/questions/4880922/can-i-use-boostenable-if-on-a-member-function

const Utility1 BASE foo typename T const operator const Utility2 BASE foo const I want the T version always available but the.. always available but the T const version only available if Utility2 BASE is valid. Right now both methods exist but attempting to.. use the const version gives a weird compilation error if Utility2 BASE is invalid. I'd rather have a sensible error or even a..