C++ Logo


Advanced search

Subject: Re: [std-proposals] Conditional final class-virt-specifier
From: Hyman Rosen (hyrosen_at_[hidden])
Date: 2020-07-15 16:20:31

On Wed, Jul 15, 2020 at 4:35 PM Arthur O'Dwyer via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Just to drive this point home (and because I know someone else will say it
> if I don't):
> https://godbolt.org/z/hK99Gv
> The body of this function template is "syntax error syntax error" (with no
> semicolon at the end). MSVC accepts it happily, because *MSVC doesn't
> parse templates*.

It does if you invoke it correctly: <https://godbolt.org/z/Gz9eYv>

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups