Constrained Templates

Templates have evolved from humble beginnings as "parameterized types" to a startlingly powerful abstraction tool. Naturally, this abstraction ability gets pushed hard, and gaps and weaknesses show up. Template constraints in the D programming language plug one of those gaps in a simple, intuitive way.


June 12, 2010
URL:http://www.drdobbs.com/tools/constrained-templates/228701822

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.