Map
Index
Random
Help
th

Quote: template concepts restrict the allowable types; e.g., Assignable with Assignable as true

QuoteRef: dosrG1_2006 , p. 298



Topic:
interface type
Topic:
type parameter

Quotation Skeleton

Consider 'fill' from the Standard Library … A call 'fill(p, q, v)' will assign v … [p,q). ... Here is our current best bet for a convenient and compatible syntax [for concepts]: 'template where Assignable void fill(Iter first, … example, the boolean-valued expression 'Assignable' is true as … cannot assign a 'string' value' to a 'double' …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: interface type (50 items)
Topic: type parameter (34 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.