Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Enumerations | Functions
20.meta.rel.cpp File Reference
#include <type_traits>
#include <rw_driver.h>
#include <rw/_defs.h>
Include dependency graph for 20.meta.rel.cpp:

Go to the source code of this file.

Data Structures

struct  struct_A
 
struct  struct_AA
 
class  class_B
 
class  class_BB
 
struct  convertible_to_A
 
struct  constructible_from_B
 
struct  derived_t< T >
 
struct  derived_private_t< T >
 
struct  derived_protected_t< T >
 
struct  derived_with_conversion_t< T >
 
union  union_C
 
union  union_CC
 

Macros

#define TEST(Trait, TypeT, TypeU, Expect)
 
#define TEST(Trait, TypeT, TypeU, Expect)
 

Enumerations

enum  enum_A { E_a = 0 }
 
enum  enum_B { E_b = 0 }
 

Functions

void test_trait (int line, bool value, bool expect, const char *trait, const char *typeT, const char *typeU)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ TEST [1/2]

#define TEST (   Trait,
  TypeT,
  TypeU,
  Expect 
)
Value:
{ const bool value = Trait< TypeT, TypeU >::value; \
test_trait (__LINE__, value, Expect, #Trait, #TypeT, #TypeU); \
} typedef void __dummy
T value(const T &val)

Definition at line 110 of file 20.meta.rel.cpp.

◆ TEST [2/2]

#define TEST (   Trait,
  TypeT,
  TypeU,
  Expect 
)
Value:
{ const bool value = Trait< TypeT, TypeU >::value; \
test_trait (__LINE__, value, Expect, #Trait, #TypeT, #TypeU); \
} typedef void __dummy

Definition at line 110 of file 20.meta.rel.cpp.

Enumeration Type Documentation

◆ enum_A

enum enum_A

20.meta.rel.cpp - test exercising meta.rel

$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.

Copyright 1999-2008 Rogue Wave Software, Inc.

Enumerator
E_a 

Definition at line 40 of file 20.meta.rel.cpp.

◆ enum_B

enum enum_B
Enumerator
E_b 

Definition at line 41 of file 20.meta.rel.cpp.

Function Documentation

◆ main()

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

Definition at line 454 of file 20.meta.rel.cpp.

◆ test_trait()

void test_trait ( int  line,
bool  value,
bool  expect,
const char *  trait,
const char *  typeT,
const char *  typeU 
)

Definition at line 102 of file 20.meta.rel.cpp.