Skip to content

Commit be8e1b2

Browse files
committed
📚 Update documentation for byterator
Problem: - `byterator` doesn't document the 64-bit functionality. - Documentation for supported compilers is out of date. Solution: - Update `byterator` docs to add 64-bit functions. - Update documentation for supported toolchains.
1 parent 643dea1 commit be8e1b2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Some of the extras are available only with C++20 or later.
1111

1212
*stdx* supports:
1313

14-
- clang 14 through 19
14+
- clang 14 through 20
1515
- gcc 12 through 14
1616

1717
See the [full documentation](https://intel.github.io/cpp-std-extensions/).

docs/byterator.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ i.writeu16(v16); // write and advance
7272
auto v32 = i.peeku32(); // read value without advancing
7373
v32 = i.readu32(); // read and advance
7474
i.writeu32(v32); // write and advance
75+
76+
auto v64 = i.peeku64(); // read value without advancing
77+
v64 = i.readu64(); // read and advance
78+
i.writeu64(v64); // write and advance
7579
----
7680

7781
These convenience functions are implemented by function templates that offer

docs/intro.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ The following compilers are supported:
2121
* clang 16
2222
* clang 17
2323
* clang 18
24+
* clang 19
25+
* clang 20
2426
* gcc 12
2527
* gcc 13
28+
* gcc 14
2629

2730
In general, `stdx` supports the C++17 standard; however some functionality is
2831
available only in 20 and later.

0 commit comments

Comments
 (0)