Commit f00896eb authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

introduced source for prebuilt instances

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1183
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent a7a70bb2
This is a legacy version of the repository. It may be incomplete as well as
inconsistent. See README.history for details. For the old stock of the
repository copyright and licence conditions apply as specified for versions
commited after 2015-03-01. Use recent versions as a base for new development.
The legacy version is only stored to keep a record of history.
/*! \file binarray.cc
* \brief explicit array template instantiation for standard template parameters (implementation)
*
* ----------------------------------------------------------------------------
*
* $Id: binarray.cc,v 1.1 2002-12-10 19:30:27 forbrig Exp $
* \author Thomas Forbriger
* \date 01/05/2002
*
* explicit array template instantiation for standard template parameters
* (implementation)
*
* We have to compile into separate object files. Up to now the linker is not
* able to extract only those classes that re definitely used by our code.
* This is only possible if every class is compiled into a different object
* file. To accomplish multiple object files from only one source file, we
* pass template parameters through preprocessor macros.
*
* Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
*
* REVISIONS and CHANGES
* - 01/05/2002 V1.0 Thomas Forbriger
* - 22/11/2002 V1.1 shifted to Strided being default shape
*
* ============================================================================
*/
#define TF_BINARRAY_CC_VERSION \
"TF_BINARRAY_CC V1.1 "
#define TF_BINARRAY_CC_CVSID \
"$Id: binarray.cc,v 1.1 2002-12-10 19:30:27 forbrig Exp $"
#include<complex>
// we are compiling the binary library
#define TF_COMPILING_LIBRARY
#include <contxx/binarray.h>
#include <contxx/shape/densestrided.h>
#include <contxx/shape/densestrided_repr.h>
#ifndef BIN_TYPE
#error "macro BIN_TYPE (template parameter) not defined!"
#endif
#ifndef BIN_N
#error "macro BIN_N (template parameter) not defined!"
#endif
#ifndef BIN_REPR
#error "macro BIN_REPR (template parameter) not defined!"
#endif
#ifndef BIN_SUBS
#error "macro BIN_SUBS (template parameter) not defined!"
#endif
// explicit instatiations for common types:
template class contxx::prebuilt::Array<BIN_TYPE, BIN_N, BIN_REPR, BIN_SUBS>;
/* ----- END OF binarray.cc ----- */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment