timsong-cpp / cppwp Goto Github PK
View Code? Open in Web Editor NEWHTML version of the current C++ working paper
HTML version of the current C++ working paper
N4868 only contains editorial fixes since the C++20 standard (see N4867). IMO N4868, like N3337/N4140, is more preferable than N4861.
The current working draft is dated from 9/30/19. However, the actual current working draft paper (N4835 ) is dated from 10/08/19.
This causes some things to be different between them. For example, [expr.prim.id]/3 defines when the names of immediate functions can be used. The September draft states:
An id-expression that denotes an immediate function ([dcl.constexpr]) shall appear as a subexpression of an immediate invocation or in an immediate function context ([expr.const]).
While the October draft has more updated wording:
An id-expression that denotes an immediate function (9.2.5) shall appear only
- (3.1) as a subexpression of an immediate invocation, or
- (3.2) in an immediate function context (7.7)
The difference is small, but it is there. In particular, the word "only" appears in the latter one (it's probably not strictly necessary, as "shall appear" ought to be good enough, but they felt the need to add it).
Is it possible to add human-readable aliases like https://wg21.link/stdXX?
E.g., https://timsong-cpp.github.io/cppwp/cpp11 for https://timsong-cpp.github.io/cppwp/n3337.
<!-- index.html -->
<div id="dcl.type.class.deduct">
<h4>
<a class="secnum" … >9.2.9.7</a>
Deduced class template specialization types
<a class="abbr_ref" href="dcl.type.class.deduct"> <!---- Broken link -->
[dcl.type.class.deduct]
</a>
...
</h4>
The index.html
file contains broken links. It should be:
<a href="dcl.type.class.deduct.html" >
The script that generates annex-f
currently excludes tables: https://github.com/timsong-cpp/cppwp/blob/master/gen_html_std.sh#L52
Is there a reason why tables can't be included? I know the .aux file only has the table number and not the section number of the section in which the table is located, but that might be useful for folks who want to cite a particular table in the standard.
For some days now, the monospace font used into the docs is broken.
The CSS served to me is
.codeblock {
font-family: Noto Mono;
/* ... */
}
and this is obtained from https://fonts.googleapis.com/css2?family=Noto+Mono which results in a 400 code. The URL seems to have moved to https://fonts.googleapis.com/css2?family=Noto+Sans+Mono.
I'm not entirely sure who's responsible, since the htmlgen repo seems to use Roboto Mono
now, and I couldn't find any place in this repo where Noto Mono
appears in code.
This seems to be the only final working draft of C++23.
Currently only the trunk version uses the updated cxxdraft-htmlgen that does syntax highlighting and is generally nicer to look at IMO. Compare:
Is it possible to update them?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.