Go to file
yyc12345 4f1e2447d0 fix: make exception handler be singleton in same process.
- use CreateMutexW to make sure exception handler is singleton in the same process.
	- Because one process may load multiple DLLs using YYCC.
	- According to this, it will produce N times error log. N is the count of DLLs using YYCC exception handler.
- refactor exception handler. use a class instance to manage all global variables and add a std::mutex to let module be thread safe.
- change the way of check in console input testbench.
2024-07-07 17:29:26 +08:00
.github/workflows refactor: bring char8_t to this library. 2024-06-26 21:04:56 +08:00
cmake chore: update cmake build scripts 2024-06-03 14:24:05 +08:00
doc doc: update documentation 2024-07-05 22:25:14 +08:00
script chore: update build script. 2024-07-06 15:28:30 +08:00
src fix: make exception handler be singleton in same process. 2024-07-07 17:29:26 +08:00
testbench fix: make exception handler be singleton in same process. 2024-07-07 17:29:26 +08:00
.gitattributes chore: update build system 2024-06-20 15:51:40 +08:00
.gitignore chore: switch to CMake build system. 2024-05-29 23:11:52 +08:00
CMakeLists.txt chore: update build script. 2024-07-06 15:28:30 +08:00
README.md first commit 2024-04-25 10:38:13 +08:00

YYC Commonplace

During the development of a few projects, I gradually understand how Windows make the compromise with the code written by its old developers, and what is developer wanted in contemporary C++ standard library under Windows environment. So I create this static library for all of my C++ project, After this, I do not need to write these duplicated code in each project. I can use a clear and easy way to manage these codes. I can easily fix issues found in project using this library by updating a single project, rather than fixing these duplicated code in each project one by one because all of them share the same implementations.

This project mainly is served for my personal use. But I would be honored if you would like to use this in your project. Almost of my projects, except some critical projects (they will copy this project implementations into their own project scope to eliminate non-common library dependency), will gradually adapt to this project and drop their own individual implementations.

This project includes Visual Studio project file and CMake support at the same time. So that at least I can use one of them freely.

WIP. Do not use it now.