utils/function: expose also ref and cref
authorFawzi Mohamed <fawzi.mohamed@digia.com>
Wed, 23 Oct 2013 11:19:09 +0000 (13:19 +0200)
committerhjk <hjk121@nokiamail.com>
Mon, 28 Oct 2013 16:30:19 +0000 (17:30 +0100)
commit3a24b2d33239a4666b40c4f54e497f31e283e769
treee94089ad90299c0fdcf5a2b02c17a34712b19025
parent7af8af01365255f8bc3efdaaf70ddce9da6ee540
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>
src/libs/utils/function.cpp
src/libs/utils/function.h