template<typename U>
struct mira::ChannelBufferPromoter< U >
forward decl.
Class with a single static promote method that promotes an arbitrary ChannelBuffer to a ChannelBuffer of the U.
The class is needed since C++ does not allow partial function template specialization. Otherwise defining specializations of the ChannelBuffer::promote() method would be much nicer (regarding access rights etc.), but does not work as said before. To be able to access the internals of ChannelBuffer this class is a friend of ChannelBuffer.