на главную | войти | регистрация | DMCA | контакты | справка | donate |      

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Э Ю Я


моя полка | жанры | рекомендуем | рейтинг книг | рейтинг авторов | впечатления | новое | форум | сборники | читалки | авторам | добавить



Requirements on types

For the first version:

• InputIterator1 is a model of Input Iterator.

• InputIterator2 is a model of Input Iterator.

• T is a model of Assignable.

• If x is an object of type T, y is an object of InputIterator1's value type, and z is an object of InputIterator2's value type, then x + y * z is defined.

• The type of x + y * z is convertible to T.

For the second version:

• InputIterator1 is a model of Input Iterator.

• InputIterator2 is a model of Input Iterator.

• T is a model of Assignable.

• BinaryFunction1 is a model of Binary Function.

• BinaryFunction2 is a model of Binary Function.

• InputIterator1's value type is convertible to BinaryFunction2's first argument type.

• InputIterator2's value type is convertible to BinaryFunction2's second argument type.

• T is convertible to BinaryFunction1's first argument type.

• BinaryFunction2's return type is convertible to BinaryFunction1's second argument type.

• BinaryFunction1's return type is convertible to T.


Definition | Standard Template Library Programmer`s Guide | Preconditions