SHARE
TWEET

Untitled

a guest Nov 28th, 2018 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct Object1
  2. {
  3.     int foo;
  4. }
  5.  
  6. struct Object2
  7. {
  8.     Object1 base;
  9.     alias base this;
  10.     int bar;
  11. }
  12.  
  13. pragma( msg, Object2.init.foo );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top