i'll keep it short, hope this doesn't sound lazy:
i need to make a functor that can act upon any stl container when given an iterator.
best analog that comes to mind is std::make_heap.
i just...
Type: Posts; User: nullspace
i'll keep it short, hope this doesn't sound lazy:
i need to make a functor that can act upon any stl container when given an iterator.
best analog that comes to mind is std::make_heap.
i just...
thanks grumpy,
hope i didn't get you grinding your teeth there..
funny how fitting your signature is..
so add methods to the proxy and cancel the operator->..
say grumpy - what approach you would have taken in my case?
err.. you seem to have some logic backing you there..
anyhow, here's another one :
i'm using Qt, and i didn't notice i need a qobject visible to use connect (if you don't know Qt.. well doesn't...
i prefer to avoid throwing exception in cases that can be handled without them; what i am for is a way to query an object/list of objects and handle cases where nothing came back (yes i know this...
this might sound useless/needless, but bear with me.. I'm just toying with some OO
i've been playing with some patterns to prohibit creation without hiding the the constructor + friend keyword...