BAN: Fix refenrece -> reference typo

This commit is contained in:
Bananymous 2024-09-03 16:39:21 +03:00
parent 04c715d314
commit c4dadd27ac
1 changed files with 4 additions and 4 deletions

View File

@ -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; };