Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
7 days | Use stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hstdint.h | Fedja Beader | 1 | -10/+1 | |
Rationale: By the standard, cstdint guarantees these basic types in std::, but *may* put them into the global namespace. By including stdint.h directly, we guarantee that these types are in the global namespace. stdint.h is also a C++ standard header guaranteed as part of the C compatibility support, thus toolchains should support this. The proper(tm) way of going about this would mean either prefixing [u]int[0-9]*_t with std:: everywhere where they are used (a chore) or having a proxy header that includes cstdint and around 50 using statements. The latter sounds to me like a good approach for toolchains that do not provide stdint.h and do not pollute global namespace. If such a toolchain exists in the wild. See discussion at https://stackoverflow.com/questions/13642827/cstdint-vs-stdint-h In practice, my toolchain's (gcc 14 on GNU) cstdint includes stdint.h then drags those types into std:: as well. | |||||
2024-02-09 | Update copyright headers up to 2023 | Jesusalva Jesusalva | 1 | -1/+2 | |
2023-04-07 | added missing cstdint include | jak1 | 1 | -0/+4 | |
2019-01-01 | Update copyright year. | Andrei Karas | 1 | -1/+1 | |
2018-01-04 | Update copyrights year. | Andrei Karas | 1 | -1/+1 | |
2017-07-14 | Replace std::vector into macro STD_VECTOR. | Andrei Karas | 1 | -1/+1 | |
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features. | |||||
2017-07-13 | Add vector.h for use different vectors. | Andrei Karas | 1 | -1/+2 | |
Also replace <vector> include into "utils/vector.h" | |||||
2017-01-17 | Add missing A_DEFAULT_COPY / A_DELETE_COPY into net. | Andrei Karas | 1 | -0/+2 | |
2017-01-03 | Update copyright year. | Andrei Karas | 1 | -1/+1 | |
2016-06-14 | Remove some useless includes. | Andrei Karas | 1 | -6/+2 | |
2016-01-02 | Update copyrights year. | Andrei Karas | 1 | -1/+1 | |
2015-08-29 | Fix compilation with different compilation options. | Andrei Karas | 1 | -0/+12 | |
2015-01-01 | Update copyrights year. | Andrei Karas | 1 | -1/+1 | |
2014-01-01 | update copyright year in all sources. | Andrei Karas | 1 | -1/+1 | |
2013-05-28 | fix guard header part2. | Andrei Karas | 1 | -3/+3 | |
2013-04-21 | some other fixes from cpplint. | Andrei Karas | 1 | -1/+1 | |
2013-04-20 | fix style in net directory. | Andrei Karas | 1 | -0/+9 | |
2013-04-12 | first part of style fixed after cpplint checks. | Andrei Karas | 1 | -1/+1 | |
2013-01-16 | update copyrights year. | Andrei Karas | 1 | -1/+1 | |
2012-09-23 | Add missing final keywords to classes. | Andrei Karas | 1 | -1/+1 | |
2012-01-05 | Update copyrights year. | Andrei Karas | 1 | -1/+1 | |
2011-03-18 | Fix most conversions except manaserv net code and some other code. | Andrei Karas | 1 | -1/+1 | |
2011-02-19 | Update copyrights. | Andrei Karas | 1 | -2/+3 | |
2011-01-02 | Initial commit. | Andrei Karas | 1 | -0/+39 | |
This code based on mana client http://www.gitorious.org/mana/mana and my private repository. |