Your powerful tool for C++ development.
Whole project use CMake, you can easily import CppEnhanced through CMake.
In future, you will be able to import CppEnhanced from vcpkg and other package manager.
- CMake ( Version > 3.6 )
- C/C++ build toolchains
- (MSVC is required on Windows platform)
Origin way:
mkdir build
cd build
cmake ..
cmake --build . --config=Release
or use script,
# on gnu/linux or macos
./build.sh
# or on windows os
./build.ps1
- DateTime
DateTime is a C++ time format and operate class (Deported from dotnet core source code)
All components supports chaining methods style.
Take DateTime
class for example:
auto date = CppEnhanced::DateTime()
.SetYear(2023)
.SetMonth(1)
.SetDay(4)
;
printf("%s\n", date.ToString(1).c_str());
// Output: 2023.1.4
We are using AGPLv3.0 now.