Tuesday, January 7, 2014

FeedaMail: Comments for Sutter’s Mill

feedamail.com Comments for Sutter's Mill

Comment on GotW #7c Solution: Minimizing Compile-Time Dependencies, Part 3 by MF

I think you forgot to change the inclusion of b.h in the final version to a forward declaration of B since there are no users left.

Read More »

Comment on GotW #7c Solution: Minimizing Compile-Time Dependencies, Part 3 by anicolaescu

Second attempt of copy-and-paste still failed; you can remove #include “b.h”, and you must forward-declare B.

Read More »

Comment on GotW #7c Solution: Minimizing Compile-Time Dependencies, Part 3 by Alexandre Chassany

The inheritance is fixed but you added the

#include "b.h"

again :D

But i think this header is still necessary since the class B is still reference by value in the public interface of the class X (thus B can’t be forward declared).

Read More »

Comment on GotW #7c Solution: Minimizing Compile-Time Dependencies, Part 3 by Bekenn

…you still have the extra #include.

Read More »
 
Delievered to you by Feedamail.
Unsubscribe

No comments:

Post a Comment