Back to Arangodb

Concept SignedInteger

3rdParty/boost/1.78.0/libs/concept_check/doc/html/SignedInteger.html

3.12.9.14.8 KB
Original Source

| | Home | Libraries | People | FAQ | More |


Concept SignedInteger

SignedInteger

Refinement of

Notation

TA type playing the role of integral-type in the SignedInteger concept.x, y, zObjects of type Ta, bObjects of type int

Type expressions

Conversion to int

T must be convertible to int.

Valid expressions

NameExpressionType

Conversion from int

|

T(a)

|

T

| |

Preincrement

|

++x

|

T &

| |

Predecrement

|

--x

|

T &

| |

Postincrement

|

x++

|

T

| |

Postdecrement

|

x--

|

T

| |

Sum

|

x + y

|

T

| |

Sum with int

|

x + a

|

T

| |

Sum-assignment

|

x += y

|

T &

| |

Sum-assignment with int

|

x += a

|

T &

| |

Difference

|

x - y

|

T

| |

Difference with int

|

x - a

|

T

| |

Product

|

x * y

|

T

| |

Product with int

|

x * a

|

T

| |

Product-assignment with int

|

x *= a

|

T &

| |

Product with int on left

|

a * x

|

T

| |

Quotient

|

x / y

|

T

| |

Quotient with int

|

x / a

|

T

| |

Right-shift

|

x >> y

|

T

| |

Right-shift with int

|

x >> a

|

T

| |

Right-shift-assignment with int

|

x >>= a

|

T &

| |

Less-than comparison

|

x < y

|

Convertible to bool

| |

Less-than comparison with int

|

x < a

|

Convertible to bool

| |

Less-than comparison with size_t

|

x < boost::sample_value < std::size_t >()

|

Convertible to bool

| |

Greater-than comparison

|

x > y

|

Convertible to bool

| |

Greater-than comparison with int

|

x > a

|

Convertible to bool

| |

Less-than-or-equal comparison

|

x <= y

|

Convertible to bool

| |

Less-than-or-equal comparison with int

|

x <= a

|

Convertible to bool

| |

Greater-than-or-equal comparison

|

x >= y

|

Convertible to bool

| |

Greater-than-or-equal comparison with int

|

x >= a

|

Convertible to bool

| |

Greater-than-or-equal comparison with int on left

|

a >= x

|

Convertible to bool

| |

Equality comparison

|

x == y

|

Convertible to bool

| |

Equality comparison with int

|

x == a

|

Convertible to bool

|

| | Copyright © 2001, 2002 Indiana University
Copyright © 2000, 2001 University of Notre Dame du Lac
Copyright © 2000 Jeremy Siek, Lie-Quan Lee, Andrew Lumsdaine
Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc.
Copyright © 1994 Hewlett-Packard Company

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

This product includes software developed at the University of Notre Dame and the Pervasive Technology Labs at Indiana University. For technical information contact Andrew Lumsdaine at the Pervasive Technology Labs at Indiana University. For administrative and license questions contact the Advanced Research and Technology Institute at 351 West 10th Street. Indianapolis, Indiana 46202, phone 317-278-4100, fax 317-274-5902.

Some concepts based on versions from the MTL draft manual and Boost Graph and Property Map documentation, the SGI Standard Template Library documentation and the Hewlett-Packard STL, under the following license:

Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

|