
I have done some testing and on my machine ( MSVC10 in x64 ). The new
code ( using const & ) is slightly faster than the old code ( using
value type ). Not by much, but at least it's not slower. See below for
my test.
I also think that since the default_channel_converter is using const&
the following channel_converter functions should do the same. Does
that makes sense in your eyes?
#include <iostream>
#include