Commit Graph

4 Commits

Author SHA1 Message Date
Robert Loehning
746c5d8863 Incremented year in copyright info
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-08 08:29:47 +01:00
Fawzi Mohamed
dc77196a3a Revert "utils/function: expose also ref and cref"
Visual studio 9.0 (2008) and 2012 work, but 2010 breaks :(

This reverts commit 0b90d7930804beb2f0a16e97b75a6e8fd9a2b835

Change-Id: I3c9bea05ac07ca8cdeb5be5fb89234675dd72061
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2013-10-29 15:08:46 +01:00
Fawzi Mohamed
3a24b2d332 utils/function: expose also ref and cref
ref and cref are also in tr1, and in functional, and are useful when
when using functors allocated on the stack that should not be copied.

Change-Id: I7e14560d88eaa9306e47c4bd71d011f406d1054a
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-28 17:30:19 +01:00
Fawzi Mohamed
97e199eac2 utils: adding Utils::Function to support polymorphic function wrappers
Utils::Function wraps std::function or std::tr1::function to give
polymorphic function wrappers, i.e. a way to accept function pointers
or functors as arguments as long as they have the correct signature.

Change-Id: I4032264cf6b84ef647f790c566543633b4d0653b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-08-21 16:47:05 +02:00