> Don't you have to make sure that the unit::tests::Friend class is in an
> anonymous namespace in the test source file to make sure you don't get linking
> errors?
If I add it to an anonymous namespace, it won't work since it won't be considered friend of the class I've added to.
> Don't you have to make sure that the unit::tests::Friend class is in an
> anonymous namespace in the test source file to make sure you don't get linking
> errors?
If I add it to an anonymous namespace, it won't work since it won't be considered friend of the class I've added to.