2004-11-28 03:35:12 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en" >
2006-10-18 06:08:05 +00:00
<!-- Copyright Aleksey Gurtovoy 2006. Distributed under the Boost -->
<!-- Software License, Version 1.0. (See accompanying -->
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
2004-11-28 03:35:12 +00:00
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" />
< meta name = "generator" content = "Docutils 0.3.6: http://docutils.sourceforge.net/" />
< title > The MPL Reference Manual: Macros</ title >
< link rel = "stylesheet" href = "../style.css" type = "text/css" />
</ head >
< body class = "docframe refmanual" >
< table class = "header" >< tr class = "header" >< td class = "header-group navigation-bar" >< span class = "navigation-group" >< a href = "./void.html" class = "navigation-link" > Prev</ a > < a href = "./asserts.html" class = "navigation-link" > Next</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "./data-types.html" class = "navigation-link" > Back</ a > < a href = "./terminology.html" class = "navigation-link" > Along</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "../refmanual.html" class = "navigation-link" > Up</ a > < a href = "../refmanual.html" class = "navigation-link" > Home</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "./refmanual_toc.html" class = "navigation-link" > Full TOC</ a ></ span ></ td >
< td class = "header-group page-location" >< a href = "../refmanual.html" class = "navigation-link" > Front Page</ a > / < a href = "./macros.html" class = "navigation-link" > Macros</ a ></ td >
</ tr ></ table >< div class = "header-separator" ></ div >
< div class = "section" id = "macros" >
< h1 >< a class = "toc-backref" href = "../refmanual.html#id509" name = "macros" > Macros</ a ></ h1 >
< a class = "target" id = "label-macros" name = "label-macros" ></ a >< p > Being a < em > template</ em > metaprogramming framework, the MPL concentrates on
getting one thing done well and leaves most of the clearly
preprocessor-related tasks to the corresponding specialized
libraries < a class = "citation-reference" href = "#pre" id = "id283" name = "id283" > [PRE]</ a > , < a class = "citation-reference" href = "#ve03" id = "id284" name = "id284" > [Ve03]</ a > . But whether we like it or not, macros play
an important role on today's C++ metaprogramming, and some of
the useful MPL-level functionality cannot be implemented
without leaking its preprocessor-dependent implementation
nature into the library's public interface.</ p >
< table class = "citation" frame = "void" id = "pre" rules = "none" >
< colgroup >< col class = "label" />< col /></ colgroup >
< tbody valign = "top" >
< tr >< td class = "label" >< a class = "fn-backref" href = "#id283" name = "pre" > [PRE]</ a ></ td >< td > Vesa Karvonen, Paul Mensonides,
< a class = "reference" href = "http://www.boost.org/libs/preprocessor/doc/index.html" target = "_top" > The Boost Preprocessor Metaprogramming library</ a ></ td ></ tr >
</ tbody >
</ table >
< table class = "citation" frame = "void" id = "ve03" rules = "none" >
< colgroup >< col class = "label" />< col /></ colgroup >
< tbody valign = "top" >
< tr >< td class = "label" >< a class = "fn-backref" href = "#id284" name = "ve03" > [Ve03]</ a ></ td >< td > Vesa Karvonen, < cite > The Order Programming Language</ cite > , 2003.</ td ></ tr >
</ tbody >
</ table >
<!-- modtime: November 13, 2004 18:38:07 +0000 -->
< ul class = "toc simple" id = "outline" >
< li >< a class = "reference" href = "./asserts.html" id = "id510" name = "id510" > Asserts</ a ></ li >
< li >< a class = "reference" href = "./introspection.html" id = "id515" name = "id515" > Introspection</ a ></ li >
< li >< a class = "reference" href = "./configuration.html" id = "id518" name = "id518" > Configuration</ a ></ li >
< li >< a class = "reference" href = "./broken-compiler.html" id = "id527" name = "id527" > Broken Compiler Workarounds</ a ></ li >
</ ul >
</ div >
< div class = "footer-separator" ></ div >
< table class = "footer" >< tr class = "footer" >< td class = "header-group navigation-bar" >< span class = "navigation-group" >< a href = "./void.html" class = "navigation-link" > Prev</ a > < a href = "./asserts.html" class = "navigation-link" > Next</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "./data-types.html" class = "navigation-link" > Back</ a > < a href = "./terminology.html" class = "navigation-link" > Along</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "../refmanual.html" class = "navigation-link" > Up</ a > < a href = "../refmanual.html" class = "navigation-link" > Home</ a ></ span >< span class = "navigation-group-separator" > | </ span >< span class = "navigation-group" >< a href = "./refmanual_toc.html" class = "navigation-link" > Full TOC</ a ></ span ></ td >
</ tr ></ table ></ body >
</ html >