|
-
April 16th, 2010, 10:02 AM
#1
std::dereference and std::reference
the stl has standard functors for all operators, like less, greater, equal_to etc.
I find myself needing to reference or dereference objects quite often, and I would have liked functors to operator& and operator*.
While I know I could just write them, I was wondering why they weren't part of the stl.
Is it just because "I guess they forgot", or is there something so dangerous about them, they decided to not put them in? Or something else?
Thoughts?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|