move traits definition down
This commit is contained in:
@@ -25,13 +25,6 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
template <typename T>
|
||||
struct TimerTraits
|
||||
{
|
||||
typedef typename TypeTraits<typename TypeTraits<T>::ReferencedType>::NonConstType StoredType;
|
||||
typedef const StoredType &ParameterType;
|
||||
};
|
||||
|
||||
class TimerImpl
|
||||
{
|
||||
public:
|
||||
@@ -89,6 +82,15 @@ struct TimerImplSix : public TimerImpl
|
||||
};
|
||||
|
||||
|
||||
|
||||
template <typename T>
|
||||
struct TimerTraits
|
||||
{
|
||||
typedef typename TypeTraits<typename TypeTraits<T>::ReferencedType>::NonConstType StoredType;
|
||||
typedef const StoredType &ParameterType;
|
||||
};
|
||||
|
||||
|
||||
template <typename FN>
|
||||
TimerImpl *
|
||||
MakeTimerImpl (FN fn)
|
||||
|
||||
Reference in New Issue
Block a user