May 31, 2013

[c++][NOTE] note for operator overload (can't be overloaded for reason)

c
  • . ?:
c++
  • :: .* sizeof sizeof...
boost::lambda
  • ->., ->, new, new[], delete, delete[] 
    • those can't be overload is because the return type can't be a lambda functor. check this link for how boost::lambda done this in a alternative way : http://goo.gl/xzG9o

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.