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

@@ -33,8 +33,6 @@
#if TINS_IS_CXX11
#include <type_traits>
#endif
#include <sstream>
#include <string>
#include <stdint.h>
#include "constants.h"