1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Don't include heavy STL headers like <algorithm> in header files

This provides a considerable compilation time reduction and most
of these were just using std::copy/fill which can be replaced by
memcpy/memset, as all of their uses were applied to POD types
This commit is contained in:
Matias Fontanini
2017-04-30 09:28:00 -07:00
parent 1ad245238f
commit f88cf9b025
14 changed files with 31 additions and 37 deletions

View File

@@ -35,6 +35,7 @@
#define _GLIBCXX_USE_NANOSLEEP
#include <iostream>
#include <iomanip>
#include <chrono>
#include <thread>
#include <cstdint>