Guest User

Untitled

a guest
Feb 9th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.16 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment