[vtk-developers] AddObserver taking C++11 lambda?

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Wed Mar 22 11:45:33 EDT 2017


+1 to using lambda functions for AddObserver.
​

On Tue, Mar 21, 2017 at 11:53 PM Elvis Stansvik <
elvis.stansvik at orexplore.com> wrote:

> Hi all,
>
> With C++11 now required, would there be interest in an AddObserver
> version that takes a C++11 lambda? I've found myself wishing there was
> one a couple of times.
>
> Anyone know off the top of their head how easy/hard that would be to add?
>
> Cheers,
> Elvis
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
> --
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170322/c68f37f8/attachment.html>


More information about the vtk-developers mailing list