SHARE
TWEET

Untitled

a guest Feb 9th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import std.algorithm;
  2. class A {
  3.  
  4. }
  5.  
  6. class B {
  7.     A a;
  8. }
  9.  
  10. class C {
  11.  
  12.     void visit(B b) {
  13.         auto as = [b.a];
  14.         as.map!(d => d);
  15.     }
  16. }
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