- do nothing if: A makes no references at all to B
- do nothing if: The only reference to B is in a friend declaration
- forward declare B if: A contains a B pointer or reference:
B* myb;
- forward declare B if: one or more functions has a B object/pointer/reference
as a parementer, or as a return type:
B MyFunction(B myb);
#include "b.h"
if: B is a parent class of A#include "b.h" if
: A contains a B object: B myb;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object FizzBuzz extends App { | |
def fBuzz(n : Int) { | |
if (n > 0 && n <= 100) { | |
if (n % 15 == 0) println("FizzBuzz") | |
else if (n % 3 == 0) println("Fizz") | |
else if (n % 5 == 0) println("Buzz") | |
fBuzz(n + 1) | |
} | |
} |
Edward Snowden answered questioned after a showing of CITIZENFOUR at the IETF93 meeting; this is a transcript of the video recording.
For more information, see the Internet Society article.