Why static data member 'int' could initialize in class body? but 'double' can't?
eg:
class Example
{
public:
static double rate = 6.5; //wrong...
static int versize = 20; //right
}
double Example::rate = 6.5; //yes
What reason by design that syntax ?