mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
19 lines
No EOL
184 B
C++
19 lines
No EOL
184 B
C++
|
|
#include "object.h"
|
|
|
|
namespace
|
|
{
|
|
class Blah
|
|
{
|
|
int i;
|
|
public:
|
|
Blah(){
|
|
i = 3;
|
|
}
|
|
};
|
|
|
|
void Test(){
|
|
char storage[sizeof( Blah )];
|
|
constructor( *reinterpret_cast<Blah*>( storage ) );
|
|
}
|
|
} |