Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Twerk from Home
Jan 17, 2009

This avatar brought to you by the 'save our dead gay forums' foundation.

Deep Dish Fuckfest posted:

no it doesn't and thank loving god for it. the compiler has to be able to figure out the type at compile time for it to work

we are, of course, talking about auto when used as placeholder for a local variable type here, because in true c++ fashion every keyword needs to have as many different meaning as possible in different context (though thankfully all of them still require the type to be deducible at compile time). we're not talking about auto used as, say, a function parameter type as is now allowed in c++20. possibly with concepts acting as constraints. or as part of decltype(auto) and its delightfully obvious meaning. or its effect of transforming a normal god-fearing r-value reference into a universal reference of loose morals when replacing a concrete type in a variable definition. or the type of firearm best suited to ending my suffering

This guy c++es

Adbot
ADBOT LOVES YOU

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply