https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116178

            Bug ID: 116178
           Summary: wish: command line -std=c++newest
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antto at mail dot bg
  Target Milestone: ---

i was told that GCC uses the newest "stable" C++ language std by default when
-std= hasn't been specified

so there's maybe two major flavors of this wish:

1. add an option for the "newest" or "latest" C++ language version that is
still not stable enough but pretty usable, the exact name of the option could
be "-std=c++unstable" to indicate the possibility of minor explosions

2. add an option for the even more newest language version/features which are
very unstable, the option could be called "-std=c++experimental" or so (i'd
personally name it explodymental, but i don't get to decide)

i'd think these options could be handy, for quick tests, or compiler-explorer
scenarios

3. not sure how the "-std=gnu++" should be dealt with, but maybe those should
apply there too? also not sure for other languages since i'm unfamiliar (C,
etc..)

Reply via email to