https://github.com/mkckr0/category_traits
A way to identify C++ value category in compile-time using template partial specialization and decltype(())
https://github.com/mkckr0/category_traits
cpp cpp11 value-category
Last synced: over 1 year ago
JSON representation
A way to identify C++ value category in compile-time using template partial specialization and decltype(())
- Host: GitHub
- URL: https://github.com/mkckr0/category_traits
- Owner: mkckr0
- License: bsl-1.0
- Created: 2022-06-16T15:59:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T15:15:22.000Z (over 1 year ago)
- Last Synced: 2025-02-03T04:15:57.889Z (over 1 year ago)
- Topics: cpp, cpp11, value-category
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# category_traits
A way to identify C++ value category in compile-time using template partial specialization and `decltype(())`
## reference
[https://en.cppreference.com/w/cpp/language/decltype](https://en.cppreference.com/w/cpp/language/decltype)
[https://en.cppreference.com/w/cpp/language/value_category](https://en.cppreference.com/w/cpp/language/value_category)
[C++ 利用模板偏特化和 decltype(()) 识别表达式的值类别](https://mkckr0.github.io/blog/2022/C++-利用模板偏特化和-decltype(())-识别表达式的值类别.html)