2
0
mirror of https://github.com/boostorg/locale.git synced 2026-01-19 16:32:09 +00:00

25 Commits

Author SHA1 Message Date
Alexander Grund
93d36817fc Exclude examples from ALL target
Only build with the `tests` target
2024-05-16 13:34:23 +02:00
jeffworl
aab426aca0 resolving argument usage check in examples/performance 2023-08-08 10:17:02 +02:00
Alexander Grund
9b1813e757 Remove superflous braces
Make the code a bit shorter vertically, enforced formating ensures
correct indentation which provides enough readability
2023-05-16 12:04:59 +02:00
Alexander Grund
0a68c52b7f Modernize using nullptr 2023-05-07 19:01:45 +02:00
Alexander Grund
32f85585ec Merge pull request #162 from Flamefire/modernize-loops
Modernize code, especially for-loops
2023-04-16 21:40:50 +02:00
Alexander Grund
329170e360 Fix comments, especially in examples
Some were outdated/wrong (C&P) or using the docstring triple-slash prefix
2023-04-16 16:17:29 +02:00
Alexander Grund
b1f4198701 Modernize code with range-based for loops
Also find related readability improvements.
2023-04-16 13:13:48 +02:00
Alexander Grund
84aa100af1 Improve conversion example.
Make it clear which output is from Boost.Locale and what is the expected
behavior by changing the order.
Also check for ICU support as only ICU is able to do that conversion.

Closes #51
2023-03-06 06:51:08 +01:00
Joseph Malle
6f36132f1d spelling and grammar fixes 2022-10-27 20:33:32 +02:00
Alexander Grund
56668483a1 Reduce noise of docstrings 2022-10-25 17:56:27 +02:00
Alexander Grund
705ee0f59d Remove superflous <iostream> includes
Signed-off-by: Alexander Grund <Flamefire@users.noreply.github.com>
2022-10-21 21:29:28 +02:00
Alexander Grund
6567d838b3 Use constexpr instead of static const 2022-10-13 20:58:26 +02:00
Alexander Grund
7784f46243 Format sources
Use clang-format-14 to format source code consistently.
Closes #98
2022-10-10 14:25:58 +02:00
Alexander Grund
a5bf5e8538 Remove usage of cassert
Replace by BOOST_ASSERT or test macros
2022-07-12 18:35:43 +02:00
Alexander Grund
a922d12ccb Add missing license to example CML 2022-07-12 18:35:42 +02:00
Alexander Grund
707f801c55 Remive vim markers
To be replaced by clang-format in the future.
2022-07-12 18:35:42 +02:00
Alexander Grund
595934f25e Update license headers
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-12 18:35:41 +02:00
Alexander Grund
8c7338cd0d Use \n instead of std::endl where appropriate
We usually don't need the flush so use \n at end of strings which
greatly shortens the code.
2022-06-30 15:08:08 +02:00
Alexander Grund
00c8e07689 Remove using std-namespace and reformat
Removes the `using namespace std` to easier differentiate between
Boost.Locale and Std stuff.
Add spaces around shift operators.
2022-06-30 15:08:08 +02:00
Alexander Grund
132f5126a4 Disable running example/collate
This reads from stdin which may fail/timeout.
2022-06-30 15:08:08 +02:00
Alexander Grund
d1fc12426f Remove trailing spaces 2022-06-04 11:50:39 +02:00
Alexander Grund
f61245a3d2 Add examples and performance test to CMake build
Make sure performance examples compile at least and examples also run.
2022-05-29 22:20:10 +02:00
Artyom Beilis
eb14e99e18 Lineup with trunk
[SVN r82266]
2012-12-29 14:18:45 +00:00
Artyom Beilis
48ff4519b8 - Updates according to library requirements
- cleanup of inspect warnings
  - various requiremets like libraries.htm and maintainers.txt


[SVN r73786]
2011-08-15 19:04:34 +00:00
Artyom Beilis
4c30e01d23 First Version of Boost.Locale integrated into SVN trunk
[SVN r73017]
2011-07-12 13:57:36 +00:00