TuttleOFX
1
|
00001 #ifndef _TERRY_PIXELPROXY_HPP_ 00002 #define _TERRY_PIXELPROXY_HPP_ 00003 00004 #include <boost/type_traits/remove_reference.hpp> 00005 00006 namespace terry { 00007 00008 /// \brief Returns the reference proxy associated with a type that has a \p "reference" member typedef. 00009 /// 00010 /// The reference proxy is the reference type, but with stripped-out C++ reference. It models PixelConcept 00011 template <typename T> 00012 struct pixel_proxy : public ::boost::remove_reference<typename T::reference> {}; 00013 00014 } 00015 00016 #endif