项目作者: KokorinIlya

项目描述 :
Excercises for c++ course
高级语言: C++
项目地址: git://github.com/KokorinIlya/cpp-course-exercises.git
创建时间: 2018-01-07T11:34:59Z
项目社区:https://github.com/KokorinIlya/cpp-course-exercises

开源协议:

下载


cpp-course-exercises

Excercises for c++ course

Including:

any

1) any - my implementation of std::any or boost::any.

http://en.cppreference.com/w/cpp/utility/any

Implemented using void* with type_info (any_first) and polymorph classes (any_second)

call_once_function

2) call_once_function - function, identical to std::function, that can store and call call_once functional objects (like objects, created by call_once_bind)

Implemented using Small Object Optimization (SOO). The data structure is fully reentrancy-safe

optional

3) optional - my implementation of std::optional or boost::optional

http://en.cppreference.com/w/cpp/utility/optional

Stores objects in the optional, does’t allocate memory for storing on heap.

template_list

4) template-list - implementation of linked list, using c++-17 template metaprogramming. All functions are calculated in compile-time.