STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

sign_traits Struct Template Reference

Traits for determining the signed, unsigned and alternate-signed type. More...

#include <stlsoft_sign_traits.h>

List of all members.

Public Types

typedef signed T signed_type
 The signed type.

typedef unsigned T unsigned_type
 The unsigned type.

typedef unsigned T alt_sign_type
 The alternate-signed type.

enum  { , bits = 8 }


Detailed Description

template<typename T>
struct stlsoft::sign_traits< T >

Traits for determining the signed, unsigned and alternate-signed type.

sign_traits is a traits class for acquiring the corresponding signed, unsigned, and alternate-signed type eg.

  sign_traits<ss_sint16_t>::signed_type == ss_sint16_t
  sign_traits<ss_sint16_t>::unsigned_type == ss_uint16_t
  sign_traits<ss_sint16_t>::alt_sign_type == ss_uint16_t

Parameters:
T  The char type


Member Typedef Documentation

typedef unsigned T alt_sign_type
 

The alternate-signed type.

typedef signed T signed_type
 

The signed type.

typedef unsigned T unsigned_type
 

The unsigned type.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
bits  The type size, in bits.


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004