Difference between revisions of "C++20"

From Inkscape Wiki
Jump to navigation Jump to search
Line 8: Line 8:
! Feature !! Since !! Can use? !! Comment
! Feature !! Since !! Can use? !! Comment
|-
|-
| <code>std::span</code>  || C++20 || not yet || Handle buffers like standard library containers without risk of overflow.
| <code>std::span</code>  || C++20 || style="background: lightgreen;" | from 1.3? || Handle buffers like standard library containers without risk of overflow. (OK on MacOS)
|}
|}

Revision as of 12:12, 17 March 2023

See also C++11, C++17.

Some things that will be interesting to use once C++20 is common:

Feature Since Can use? Comment
std::span C++20 from 1.3? Handle buffers like standard library containers without risk of overflow. (OK on MacOS)