fork download
#include 
#include 

class __attribute__((aligned(64))) C
{
private:
    int64_t iValue;
};
class __attribute__((aligned(64))) vC
{
public:
    virtual ~vC() {}

private:
    int64_t iValue;
};
int main () {
    std::cout << sizeof(C) << "\n";
    std::cout << sizeof(vC)<< "\n";
}
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
64
64