Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
26.indirect.array.cpp File Reference
#include <cstdlib>
#include <valarray>
#include <rw_driver.h>
Include dependency graph for 26.indirect.array.cpp:

Go to the source code of this file.

Macros

#define TEST(array, inx, op, arg, res, nmatch)    test_indirect_array (__LINE__, array, inx, op, arg, res, nmatch)
 
#define INFO(op)
 

Functions

template<class T >
std::valarray< T > make_array (const char *s, std::size_t n=0)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ INFO

#define INFO (   op)
Value:
rw_info (0, 0, __LINE__, \
"std::indirect_array<int>::operator%s(std::valarray<int>)", op);
_TEST_EXPORT int rw_info(int, const char *, int, const char *,...)
Definition driver.cpp:1681

◆ TEST

#define TEST (   array,
  inx,
  op,
  arg,
  res,
  nmatch 
)     test_indirect_array (__LINE__, array, inx, op, arg, res, nmatch)

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 412 of file 26.indirect.array.cpp.

◆ make_array()

template<class T >
std::valarray< T > make_array ( const char *  s,
std::size_t  n = 0 
)

26.template.indirect.array.cpp - tests exercising class template indirect_array

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 41 of file 26.indirect.array.cpp.