cpp-utilities/conversion
Martchus 07e9546855 Avoid relying on compiler optimizations for binary conversions
* Add/update binary conversion functions to use `std::memcopy`
* Only GCC could actually optimize the custom code using bit operations
    * Clang could only optimize the `getBytes()` functions
    * MSVC could not optimize any of the functions
* The to…Int…() functions cannot be updated as they are `constexpr` (and
  thus `std::memcopy` and `reinterpret_cast` cannot be used). So they stay
  as-is and `toInt()` has been added instead
* The `BinaryReader` class has been updated to use the new `toInt()`
  function
2023-02-05 21:29:22 +01:00
..
binaryconversion.h Avoid relying on compiler optimizations for binary conversions 2023-02-05 21:29:22 +01:00
binaryconversionprivate.h Avoid relying on compiler optimizations for binary conversions 2023-02-05 21:29:22 +01:00
conversionexception.cpp Have everything in one top-level namespace 2019-06-10 21:56:46 +02:00
conversionexception.h Fix old namespaces being mentioned in the documentation 2019-09-04 18:45:28 +02:00
stringbuilder.h Apply clang-format/cmake-format 2023-02-03 13:31:18 +01:00
stringconversion.cpp Apply clang-format/cmake-format 2023-02-03 13:31:18 +01:00
stringconversion.h Add helper to make native path from internal representaton 2022-03-17 22:31:11 +01:00