[BW]: [Ign] Workaround for missing template aliasing feature in VS 2012 to make bts_wallet compiling.

This commit is contained in:
vogel76 2014-03-04 18:23:35 +01:00
parent 163be8a6d0
commit f5249dc2d6

View file

@ -8,6 +8,17 @@ namespace fc {
template<typename T>
using signal = boost::signals2::signal<T>;
#else
/** Workaround for missing Template Aliases feature in the VS 2012.
\warning Class defined below cannot have defined constructor (even base class has it)
since it is impossible to reference directly template class arguments outside this class.
This code will work until someone will use non-default constructor as it is defined in
boost::signals2::signal.
*/
template <class T>
class signal : public boost::signals2::signal<T>
{
public:
};
#endif
template<typename T>