C++

별칭 선언(using)

Keisa 2023. 9. 28. 13:59

코드의 간결성 및 문법적 난해함을 피하는데 유용하다

 

ex) template<class T>

      using remove_const_t = typename remove_const<T>::type

'C++' 카테고리의 다른 글

noexcept & constexpr  (0) 2023.09.28
enum/enum class  (0) 2023.09.28
auto & 중괄호 초기화 & nullptr  (0) 2023.09.28
형식 연역  (0) 2023.09.28
보편 참조  (0) 2023.09.28