본문 바로가기

프로그래밍 검색 블로그

검색하기
프로그래밍 검색 블로그
프로필사진 코딩조무사

  • 분류 전체보기 (82)
    • program (1)
    • 연습장 (8)
    • C++ 유틸 (7)
    • C++ 패턴 (3)
    • C++자료구조 (1)
    • C++ ranges (28)
    • 함수형 프로그래밍 (1)
    • clojure기초 (22)
    • Android (6)
    • go (4)
    • python (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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 31
Tags
  • sha256
  • Functional
  • async
  • AES
  • sprintf
  • Android
  • ChromeTab
  • c++
  • Clojure
  • go
  • ranges
  • SHA512
  • Reflect
  • CustomTab
  • WebView
  • Scala
  • traits
  • Chrono
  • program
  • haskell
  • type_traits
  • Observer
  • template
  • stringprintf
  • web
  • RAII
  • design pattern
  • kotlin
  • coroutines
  • SHA1
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Scala (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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바