Opened 18 years ago

Closed 18 years ago

#263 closed Bugs (Fixed)

lambda doesn't overload deref op correctly

Reported by: nobody Owned by: nobody
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

The dereference operator overload for lambda fn params
seems to assume that the argument is an iterator. This
precludes easy dereference of UDTs and smart ptrs.

Thanks
Bill Somerville
bill@classdesign.com

Change History (4)

comment:1 by urzuga, 18 years ago

Logged In: YES 
user_id=284669

The attached test program compiles with gcc and icc8. Did you test 
towards 1.31. or cvs head? Peter Dimov committed a change that 
provided interoperability with smar pointers after 1.31. was out.

  Jaakko

comment:2 by bsomervi, 18 years ago

Logged In: YES 
user_id=1036098

OK I'm using 1.31.0, I'll get the changes from cvs.

Thanks for the prompt response.

Bill Somerville

comment:3 by bsomervi, 18 years ago

Logged In: YES 
user_id=1036098

Yep, that fixed it.

Thanks Jaako & Peter.

comment:4 by Peter Dimov, 18 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.