Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.unix.programmer Subject: Re: Odd compiler behaviour? Date: Sat, 12 Mar 2016 18:11:42 -0800 Organization: None to speak of Lines: 16 Message-ID: References: <20160310073739.787@kylheku.com> <20160310141206.690dee00e1890c1c28ec7eed@speakeasy.net> <87k2lat8kh.fsf@doppelsaurus.mobileactivedefense.com> <20160310172556.1819add556ddbb260a38ab75@speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="27151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+G57ynFnNQ0jVERi2TXF/U" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:mcue46uLvtzjIrsyKz0EBTNu+vo= sha1:f4q+RqQoWcVI40A9eUk+FdIlnT8= Xref: csiph.com comp.unix.programmer:8149 "James K. Lowden" writes: [...] > AIUI C++17 will bring us concepts, a type system for template > arguments. I haven't read the draft, but in theory that would > encompass int/float types, and could support two templates along the > lines you're suggesting. Apparently they won't be in C++17, but they could be in a later edition. http://honermann.net/blog/?p=3 -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"