Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Static Public Member Functions
Limits< T > Struct Template Reference

Public Types

enum  { is_specialized = false }
 
enum  { digits }
 
enum  { digits10 }
 
enum  { is_signed }
 
enum  { is_integer }
 
enum  { is_exact }
 
enum  { radix }
 
enum  { is_bounded = false }
 

Static Public Member Functions

static T() min ()
 
static T() max ()
 
static bool is_modulo ()
 
static int compute_digits10 ()
 

Detailed Description

template<class T>
struct Limits< T >

18.numeric.special.int.cpp - tests specializations of the numeric_limits class template on integer types

$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 2004-2008 Rogue Wave Software, Inc.

Definition at line 38 of file 18.numeric.special.int.cpp.

Member Enumeration Documentation

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
is_specialized 

Definition at line 40 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
digits 

Definition at line 45 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
digits10 

Definition at line 46 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
is_signed 

Definition at line 47 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
is_integer 

Definition at line 48 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
is_exact 

Definition at line 49 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
radix 

Definition at line 50 of file 18.numeric.special.int.cpp.

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
is_bounded 

Definition at line 51 of file 18.numeric.special.int.cpp.

Member Function Documentation

◆ compute_digits10()

template<class T >
static int Limits< T >::compute_digits10 ( )
inlinestatic

Definition at line 55 of file 18.numeric.special.int.cpp.

◆ is_modulo()

template<class T >
static bool Limits< T >::is_modulo ( )
inlinestatic

Definition at line 53 of file 18.numeric.special.int.cpp.

◆ max()

template<class T >
static T() Limits< T >::max ( )
inlinestatic

Definition at line 43 of file 18.numeric.special.int.cpp.

◆ min()

template<class T >
static T() Limits< T >::min ( )
inlinestatic

Definition at line 42 of file 18.numeric.special.int.cpp.


The documentation for this struct was generated from the following file: