Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread cpp . dvl
On Tuesday, April 3, 2012 at 3:38:08 PM UTC-5, Benoit Jacob wrote: > Hello, > > Short version: "inline" alone is enough to take care of multiple > function definitions. Next time you're about to write "static inline" > in a header file, seriously consider doing "inline" instead. > > Long version:

Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread Botond Ballo
> > Hi! I come from the future, it is not in C++17. > Can you elaborate on what "it" is? Thanks, Botond ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

browser-chrome mochitests' is() now uses Object.is()

2020-07-31 Thread Geoff Brown
Traditionally, the is() function in browser-chrome mochitests performed comparisons with ==; with bug 1647187, is() (and isnot(), todo_is(), todo_isnot()) now performs comparisons with Object.is(). For example, where is("4", 4, ...) would previously succeed, now it will fail, since the parameter ty

Intent to ship: CSS overflow:clip

2020-07-31 Thread Mats Palmgren
Summary: We intend to ship CSS overflow:clip in v81, which is the standardized version of a prefixed value (-moz-hidden-unscrollable) that we already ship. The prefixed value becomes an alias for the new value. The standardized value is mostly compatible, but there are some differences. Most not

Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread cpp . dvl
On Friday, July 31, 2020 at 12:54:59 PM UTC-5, Botond Ballo wrote: > > > > Hi! I come from the future, it is not in C++17. > > > > Can you elaborate on what "it" is? > > Thanks, > Botond Stupid: It is not stupid, it is a feature. ___ dev-platform mail

Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread Botond Ballo
On Fri, Jul 31, 2020 at 9:00 PM wrote: > Stupid: It is not stupid, it is a feature. > Ah, you mean `static inline` has uses in C++17 that it didn't have in older versions? I would appreciate an example (or a link to post etc.) so we can understand this better. Thanks, Botond __