[BW]: [Ign] Workaround for missing template aliasing feature in VS 2012 to make bts_wallet compiling.
This commit is contained in:
parent
163be8a6d0
commit
f5249dc2d6
1 changed files with 11 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue