|
A template-argument matches a template template-parameter P when each of the template parameters in the template-parameter-list of the template-argument’s corresponding class template or alias template A matches the corresponding template parameter in the template-parameter-list of P. Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. When P’s template-parameter-list contains a template parameter pack (14.5.3), the template parameter pack will match zero or more template parameters or template parameter packs in the template-parameter-list of A with the same type and form as the template parameter pack in P (ignoring whether those template parameters are template parameter packs).
|
# ? Mar 26, 2016 04:33 |
|
|
# ? Apr 28, 2024 22:34 |
|
templates are bad
|
# ? Mar 26, 2016 05:03 |
|
The Management posted:templates are bad better than this thread tho
|
# ? Mar 26, 2016 14:26 |
|
That Turkey Story posted:A template-argument matches a template template-parameter P when each of the template parameters in the template-parameter-list of the template-argument’s corresponding class template or alias template A matches the corresponding template parameter in the template-parameter-list of P. Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. When P’s template-parameter-list contains a template parameter pack (14.5.3), the template parameter pack will match zero or more template parameters or template parameter packs in the template-parameter-list of A with the same type and form as the template parameter pack in P (ignoring whether those template parameters are template parameter packs). it's 2016, lol if u still think this.
|
# ? Mar 26, 2016 18:09 |
|
That Turkey Story posted:A template-argument matches a template template-parameter P when each of the template parameters in the template-parameter-list of the template-argument’s corresponding class template or alias template A matches the corresponding template parameter in the template-parameter-list of P. Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. When P’s template-parameter-list contains a template parameter pack (14.5.3), the template parameter pack will match zero or more template parameters or template parameter packs in the template-parameter-list of A with the same type and form as the template parameter pack in P (ignoring whether those template parameters are template parameter packs). grow up
|
# ? Mar 26, 2016 19:05 |
|
bird fight
|
# ? Mar 26, 2016 20:54 |
|
I don't use arguments because arguments never solve anything and I just want my code to be happy OP
|
# ? Mar 26, 2016 21:23 |
|
template my dickhole
|
# ? Mar 26, 2016 21:30 |
|
That Turkey Story posted:A template-argument matches a template template-parameter P when each of the template parameters in the template-parameter-list of the template-argument’s corresponding class template or alias template A matches the corresponding template parameter in the template-parameter-list of P. Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. When P’s template-parameter-list contains a template parameter pack (14.5.3), the template parameter pack will match zero or more template parameters or template parameter packs in the template-parameter-list of A with the same type and form as the template parameter pack in P (ignoring whether those template parameters are template parameter packs). Lol
|
# ? Mar 26, 2016 23:53 |
|
C++ is such a good and cool language
|
# ? Mar 26, 2016 23:53 |
|
it peaked in 1997, wtg guys u hosed up a good thing
|
# ? Mar 27, 2016 00:00 |
|
c++ is a byzantine mess of a language and i hope rust kills it dead
|
# ? Mar 27, 2016 00:01 |
|
HappyHippo posted:c++ is a byzantine mess of a language and i hope rust kills it dead that's not going to happen
|
# ? Mar 27, 2016 00:15 |
|
qhat posted:that's not going to happen but one can dream i was explaining how bad templates in c++ were to somebody and the summary i came up with was "its like a macro system that allows duck typing and multimethods with an esoteric purely functional programming language, but when you gently caress up you get half a gig of compiler errors"
|
# ? Mar 27, 2016 00:19 |
|
HappyHippo posted:c++ is a byzantine mess of a language and i hope rust kills it dead i don't see rust getting much use in games and i don't know where else c++ isn't already slowly dying at this point
|
# ? Mar 27, 2016 00:20 |
|
of course its not going to happen, we still have cobol for fucks sakeFamDav posted:but one can dream
|
# ? Mar 27, 2016 00:24 |
|
rust. lol. what's the hot new poo poo in embedded??
|
# ? Mar 27, 2016 00:33 |
|
c++ is fine if you choose not to use the more complicated aspects of the language, which you absolutely should not be doing if you expect other people to read and debug your code
|
# ? Mar 27, 2016 01:01 |
|
on the other hand, using templates and macros in your toolkits is a good way to prevent peasants from modifying your code
|
# ? Mar 27, 2016 01:04 |
|
HappyHippo posted:of course its not going to happen, we still have cobol for fucks sake i wrote some jcl last week lmao
|
# ? Mar 27, 2016 01:40 |
|
c++ owns and isn't going anywhere
|
# ? Mar 27, 2016 02:15 |
|
go to any place where people ask c++ questions. every time someone answers a question 10 more people will chime in with "yes but ..." because c++ can never permit a simple straightforward answer to anything ever.
|
# ? Mar 27, 2016 03:11 |
|
the only good parts of c++ came from c ironically
|
# ? Mar 27, 2016 03:38 |
|
suffix posted:i don't see rust getting much use in games and i don't know where else c++ isn't already slowly dying at this point llvm+clang is written in c++ lol.
|
# ? Mar 27, 2016 04:09 |
|
GameCube posted:rust. lol. c
|
# ? Mar 27, 2016 14:52 |
|
GameCube posted:rust. lol.
|
# ? Mar 28, 2016 02:29 |
|
PH7 is a in-process software library that implements a highly-efficient embeddable bytecode compiler and a virtual machine for the PHP programming language. In other words, PH7 is a PHP engine which allow the host application to compile and execute PHP scripts in-process. PH7 is to PHP what SQLite is to SQL. PH7 is 100% hand-coded, written in ANSI C, compiles unmodified and should run in any platform including restricted embedded device with a C compiler. PH7 is extensively tested on Windows and UNIX systems especially Linux, FreeBSD, Oracle Solaris and Mac OS X. PH7 is a compact library. With all features enabled, the library size can be less than 600KiB, depending on compiler optimization settings. (Some compiler optimizations such as aggressive function inlining and loop unrolling can cause the object code to be much larger.) If optional features are omitted, the size of the PH7 library can be reduced below 220KiB. PH7 can also be made to run in very little heap (2MB), making PH7 a popular PHP engine choice on memory constrained gadgets such as cellphones, tablets, numeric devices and so on.
|
# ? Mar 28, 2016 02:34 |
|
memory constrained... 2 megabyte heap 600 kilobyte binary lmao
|
# ? Mar 28, 2016 02:40 |
|
|
# ? Apr 28, 2024 22:34 |
|
https://www.npmjs.com/package/ph7
|
# ? Mar 28, 2016 02:42 |