mirror of
https://github.com/boostorg/type_traits.git
synced 2025-08-02 22:14:29 +02:00
Fix buggy decay.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace boost
|
||||
private:
|
||||
typedef typename remove_reference<T>::type Ty;
|
||||
public:
|
||||
typedef typename detail::decay_imp<T, boost::is_array<T>::value, boost::is_function<T>::value>::type type;
|
||||
typedef typename detail::decay_imp<Ty, boost::is_array<Ty>::value, boost::is_function<Ty>::value>::type type;
|
||||
};
|
||||
|
||||
} // namespace boost
|
||||
|
Reference in New Issue
Block a user