Your answer to question two seems reasonable, thanks. However, the syntax of question 1 seems pretty much off to me.. Even more so since the template argument (typename S) isn't used in the friend decleration at all.
↧