10 Commits

Author SHA1 Message Date
Antony Polukhin
184f7e43f0 Update copyright years 2026-01-04 11:10:09 +03:00
Romain Geissler @ Amadeus
8fc8a19931 Reduce dependency on Boost.TypeTraits now that C++ >= 11 is required. (#87)
This allows to workaround the following error when using clang >= 21 on the following code:

```
#include <string>
#include <iostream>
#include "boost/lexical_cast.hpp"

enum SomeEnum
{
    OneValue
};

int main()
{
    std::cout << boost::lexical_cast<std::string>(SomeEnum::OneValue) << std::endl;
}
```

Results in:

```
/app/boost/include/boost/type_traits/is_signed.hpp:37:25: error: in-class initializer for static data member is not a constant expression
   37 |    static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));

... (snapped)

/app/boost/include/boost/type_traits/is_signed.hpp:37:38: note: integer value -1 is outside the valid range of values [0, 1] for the enumeration type 'SomeEnum'
   37 |    static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));
```
2025-10-05 12:14:47 +03:00
Antony Polukhin
1c89e3a56c Update copyright years 2025-01-05 19:41:20 +03:00
Antony Polukhin
f0862bb60d Significant rewrite of the internal logic to separate optimized and C++ Standard Library IO-based streams (#69)
* C++ Standard Library based streams now constructed in less cases leading to **better performance**;
* less template instantiations and simpler maintainance;
* support for `volatile` input types was dropped, following the C++ Standard Library trend.
2024-01-24 22:35:41 +03:00
Antony Polukhin
a713e09eab Update copyright years 2024-01-07 13:06:23 +03:00
Antony Polukhin
af5ce2a5fe Drop C++03 and C++98 support (#62)
Also update tests to not use Boost.Test
2023-09-02 17:42:14 +03:00
Antony Polukhin
32e9b6d2a0 Update copyright years 2023-01-19 10:00:15 +03:00
Antony Polukhin
a9f2961159 update copyright years 2022-01-30 13:03:00 +03:00
Antony Polukhin
9c38b33f65 remove trailing whitespace 2021-01-05 12:25:39 +03:00
Antony Polukhin
745b4dc4ac workaround b2 issues with long filenames (again) 2021-01-05 12:21:37 +03:00