What's the size of that vector, anyway?(rachelbythebay.com)
rachelbythebay.com
What's the size of that vector, anyway?
https://rachelbythebay.com/w/2018/04/26/size/
2 comments
Constructing with {} uses an initializer list and the () is constructing by setting the size. See more details here: https://stackoverflow.com/questions/33185543/delegating-cons...
I'd guess it chooses the implicit string(const char*) constructor and then feeds it a nullptr. I think the plan is to get rid of this in the future with the new nullptr_t/nullptr mechanism, but for now we're stuck with it.
that's what /r/cpp says it is
Is not suspicious that this Blog [1] has a new entry in the front page every single day for weeks or I am just paranoid?
[1] https://news.ycombinator.com/from?site=rachelbythebay.com
[1] https://news.ycombinator.com/from?site=rachelbythebay.com
She's really just that prolific. She just started updating the blog again recently https://rachelbythebay.com/w/2018/03/10/free/ and she might have had some topics ready to go. But even back in 2013, it wasn't uncommon for her to have several posts per week. https://rachelbythebay.com/w/
Not really. It has interesting content and no advertising on the site.
Can anyone explain why there's a logic error?