6
char *(*func)(char *, const char *) = NULL;
8
void conoutfv(const char *fmt) {
9
static char buf[CONSTRLEN];
10
func(buf, fmt); // call by function pointer to make sure we test strcpy here
16
XYZ(float a, float b, float c) : x(a), y(b), z(c) {}
17
static const XYZ &getIdentity() {
18
static XYZ iT(1, 2, 3);
23
static const XYZ &getIdentity() {
24
static const XYZ iT(XYZ::getIdentity());
31
conoutfv("*staticccz*");
32
printf("*%.2f,%.2f,%.2f*\n", S::getIdentity().x, S::getIdentity().y,