"Visualzier 명령"의 두 판 사이의 차이
jjuiddong
36번째 줄: | 36번째 줄: | ||
) | ) | ||
} | } | ||
+ | |||
+ | |||
+ | * [[#array 명령]] |
2013년 3월 30일 (토) 13:18 판
http://mariusbancila.ro/blog/2007/04/06/tweaking-autoexpdat-for-custom-types-in-vs2005/
Visualzier 예제
// code template < typename T > class foo { public: T X; T Y; T Z; foo(T x, T y, T z): X(x), Y(y), Z(z) {} }; //autoexp.dat foo< * > { preview ( #( "X=", [$c.X, X], ", Y=", [$c.Y, X], ", Z=", [$c.Z, X] ) ) children ( #( X: [$c.X, X], Y: [$c.Y, X], Z: [$c.Z, X], [sum]: [$c.X + $c.Y + $c.Z, d] ) ) }