fork download
  1. Base const * D1BaseToD2Base( Base const * base )
  2. {
  3. return static_cast<D2 const *>(
  4. static_cast<D3 const *>(
  5. static_cast<void const *>(base)));
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: ‘Base’ does not name a type
 Base const * D1BaseToD2Base( Base const * base )
 ^~~~
stdout
Standard output is empty