forked from Bananymous/banan-os
BAN: Fix refenrece -> reference typo
This commit is contained in:
parent
04c715d314
commit
c4dadd27ac
|
@ -3,10 +3,10 @@
|
|||
namespace BAN
|
||||
{
|
||||
|
||||
template<typename T> struct remove_refenrece { using type = T; };
|
||||
template<typename T> struct remove_refenrece<T&> { using type = T; };
|
||||
template<typename T> struct remove_refenrece<T&&> { using type = T; };
|
||||
template<typename T> using remove_reference_t = typename remove_refenrece<T>::type;
|
||||
template<typename T> struct remove_reference { using type = T; };
|
||||
template<typename T> struct remove_reference<T&> { using type = T; };
|
||||
template<typename T> struct remove_reference<T&&> { using type = T; };
|
||||
template<typename T> using remove_reference_t = typename remove_reference<T>::type;
|
||||
|
||||
template<typename T> struct remove_const { using type = T; };
|
||||
template<typename T> struct remove_const<const T> { using type = T; };
|
||||
|
|
Loading…
Reference in New Issue