Documentation about C++ Concepts

Jonathan Wakely jwakely.gcc@gmail.com
Sun Jan 17 17:05:00 GMT 2016


On 21 December 2015 at 10:47, Jonathan Wakely wrote:
> On 21 December 2015 at 07:57, Akim Demaille wrote:
>>>> Also, the documentation about concepts seems to be about the previous attempts at concepts.
>>>>
>>>> https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Concepts.html#C_002b_002b-Concepts
>>>>
>>>> And actually, I did not find the documentation for c++1z, nor even -std=c++14.
>>>
>>> https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
>>
>> Ah!  Thanks.  But then, I would suggest that this is misleading: the sections "Options Controlling C Dialect » and "Options Controlling C++ Dialect" are not as symmetrical as their names would imply.  Maybe the C++ section could at least have an item about -std that points to the C documentation.
>
> Yes, that would make sense.

Done now.

>>> Also
>>> https://gcc.gnu.org/projects/cxx1y.html
>>> https://gcc.gnu.org/projects/cxx1z.html
>>>
>>>
>>>> https://gcc.gnu.org/onlinedocs/gcc/Standards.html#index-std-60
>>
>> My point here was that this page documents C++ up to C++11, and points to "Options Controlling C++ Dialect" for more information about C++ standards, whereas you just showed that it’s the page about C dialects that should be pointed to, and that there are many more options that what this section reports.
>
> I'll update that section to refer to later C++ standards, I'd
> forgotten it existed.

Also done.



More information about the Gcc-help mailing list