Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- design pattern
- sprintf
- template
- Reflect
- program
- ChromeTab
- stringprintf
- sha256
- go
- ranges
- AES
- RAII
- SHA1
- WebView
- async
- CustomTab
- traits
- Observer
- web
- kotlin
- Functional
- type_traits
- coroutines
- Chrono
- SHA512
- Clojure
- haskell
- Android
- c++
- Scala
Archives
- Today
- Total
목록traits (1)
프로그래밍 검색 블로그
C++ Traits
스칼라의 Traits C++에서 비슷하게 구현하기 operator()로 구현한다고 했을 때 1. 클래스 기반 구현 12345678910111213141516171819struct Traits{ inline void operator()(){}};templatestruct WorkingA : _Base{ void operator()(){ _Base::operator()(); printf("workingA\n"); }}; templatestruct WorkingB : _Base{ void operator()(){ _Base::operator()(); printf("workingB\n"); }}; Colored by Color Scripterc 1-1. 클래스 기반 구현의 사용 123456789101112int..
C++ 유틸
2017. 10. 3. 23:17