VTL |
View Template Library |
Site map |
|
This is the project page of the View Template Library (VTL) written by Gary Powell and Martin Weiser. VTL is a thin yet flexible adaptor layer on top of the Standard Template Library (STL) for C++. Software, documentation and web site are currently in pre-alpha state, though slowly approaching alpha state. Development snapshots are available in the download section. About ViewsA view is a container adaptor, that provides a container interface to
of the underlying container(s). Since views themselves provide the container interface, they can be easily combined and stacked. Because of template trickery, views can adapt their interface to the underlying container(s). More sophisticated template trickery makes this powerful feature easy to use. Compared with smart iterators, views are just smart iterator factories. There are some rather close semantic connections to relational algebra. Supported compilers: Currently the VTL is known to work at least with GCC 2.95. Since it uses partial specialization, template template parameters and default template parameters a lot, several compilers may not be able to handle it (e.g. Visual C++ and Sun CC seem to fail). We would be glad to hear from users of different compilers. The VTL was heavily inspired by the Views library by Jon Seymour. His library should work with Visual C++, too. A note for CUJ readers: The documentation in the
PublicationsG. Powell, M. Weiser: Views, A
New Form of Container
Adaptors. C/C++ Users
Journal, April 2000 Erratum: On page 42 we use
a function pointer as a transformation
for M. Weiser, G. Powell: The View Template Library. Proceedings of the First Workshop on C++ Template Programming, Erfurt, Germany, 2000. LicenseCopyright (c) 1999, 2000 Gary Powell This material is provided "as is", with absolutely no warranty expressed or implied. Any use is at your own risk. Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. |
Last update: 2019-06-11 Copyright © 2000 by Gary Powell and Konrad-Zuse-Zentrum für Informationstechnik Berlin |