11 years, 3 months ago
Highlights
Yea. The item in Scott Meyer's book is the reason I asked this question. He explains that the universal reference approach is uniquely optimal vs the alternatives (pass by value…
11 years, 3 months ago
11 years, 4 months ago
Can someone give me a convincing argument against always using a templated constructor that perfect forwards its arguments to initialize its member variables? In the very…
11 years, 4 months ago
Hi guys, I'm a senior in college (graduating in December), and I have some decently interesting projects on my GitHub. Thus far, my projects have been relatively small, with one…
11 years, 4 months ago
11 years, 4 months ago
Latest Activity
See all in DiscussionsYea. The item in Scott Meyer's book is the reason I asked this question. He explains that the universal reference …
11 years, 3 months ago
Okay, I didn't contextualize that comment previously, but I think this definitely pushes this into the overkill category for the …
11 years, 4 months ago
You're templating the whole class in your example. It's not feasible for every class to be templated in a large …
11 years, 4 months ago