Adobe Systems, Inc.

dynamic_at_c.hpp File Reference

Constructs for static-to-dynamic integer convesion. More...

#include "../../core/gil_config.hpp"
#include <cassert>
#include <stdexcept>
#include <boost/mpl/at.hpp>
#include <boost/mpl/size.hpp>

Go to the source code of this file.


Namespaces

namespace  detail
namespace  detail::at_c

Defines

#define DYNAMIC_AT_C_LIMIT
#define GIL_AT_C_LOOKUP(z, NUM, text)
#define GIL_AT_C_VALUE(z, N, text)

Functions

template<typename INT_TYPES, typename VALUE_TYPE>
VALUE_TYPE at_c (std::size_t index)

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on May 4, 2006

Definition in file dynamic_at_c.hpp.


Function Documentation

template<typename INT_TYPES, typename VALUE_TYPE>
VALUE_TYPE at_c std::size_t  index  ) 
 

Given an MPL Random Access Sequence and a dynamic index n, returns the value of the n-th element It constructs a lookup table at compile time.

Definition at line 116 of file dynamic_at_c.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google