Check here. There are several different type traits that can check for operators (excluding friend operators afaik).
This code currently is not part of the standard, but can be downloaded from the Boost Sandbox.

--Rideliner

On Sat, Jul 23, 2011 at 2:24 PM, Robert Jones <robertgbjones@gmail.com> wrote:
Hi All

I'm clutching at straws here, so this may be a complete fiction, but I seem to
recall mention of purely syntactic concept definitions as part of the now-abandoned
C++0x concept proposal. Things like hasPlus. Maybe I've just made this up!

Does any such thing exist in boost anywhere? Maybe as a concept check or type trait?

Thx

- Rob.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users