initial check in
This commit is contained in:
19
test_static_double.h
Normal file
19
test_static_double.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <stdio.h>
|
||||
|
||||
template < class C>
|
||||
class A
|
||||
{
|
||||
public:
|
||||
static double _st_double;
|
||||
|
||||
static double init_fun()
|
||||
{
|
||||
puts( __FILE__ );
|
||||
return 8.;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
template <class C> double A<C>::_st_double = A<C>::init_fun();
|
||||
int main2();
|
||||
|
||||
Reference in New Issue
Block a user