22 template<
typename T,
typename Allocator>
23 inline Vector<T, Allocator>
operator+ (
const Vector<T, Allocator>& op1,
const T& op2 );
26 template<
typename T,
typename Allocator>
27 inline Vector<T, Allocator>
operator+ (
const T& op1,
const Vector<T, Allocator>& op2 );
30 template<
typename T,
typename Allocator>
31 inline Vector<T, Allocator>
operator+ (
const Vector<T, Allocator>& op1,
const Vector<T, Allocator>& op2 );
34 template<
typename T,
typename Allocator>
35 inline Vector<T, Allocator>
operator - (
const Vector<T, Allocator>& op1,
const T& op2 );
37 template<
typename T,
typename Allocator>
38 inline Vector<T, Allocator>
operator - (
const T& op1,
const Vector<T, Allocator>& op2 );
41 template<
typename T,
typename Allocator>
42 inline Vector<T, Allocator>
operator - (
const Vector<T, Allocator>& op1,
const Vector<T, Allocator>& op2 );
45 template<
typename T,
typename Allocator>
46 inline Vector<T, Allocator>
operator* (
const Vector<T, Allocator>& op1,
const T& op2 );
48 template<
typename T,
typename Allocator>
49 inline Vector<T, Allocator>
operator* (
const T& op1,
const Vector<T, Allocator>& op2 );
51 template<
typename T,
typename Allocator>
52 inline Vector<T, Allocator>
operator* (
const Vector<T, Allocator>& op1,
const Vector<T, Allocator>& op2 );
55 template<
typename T,
typename Allocator>
56 inline Vector<T, Allocator>
operator / (
const Vector<T, Allocator>& op1,
const T& op2 );
59 template<
typename T,
typename Allocator>
60 inline Vector<T, Allocator>
operator / (
const T& op1,
const Vector<T, Allocator>& op2 );
63 template<
typename T,
typename Allocator>
64 inline Vector<T, Allocator>
operator / (
const Vector<T, Allocator>& op1,
const Vector<T, Allocator>& op2 );
67 template<
typename T,
typename Allocator>
68 inline auto count(
const Vector<T, Allocator>& vec,
const T& val);
70 template<
typename T,
typename Allocator,
typename UnaryPredicate>
71 inline auto count_if(
const Vector<T, Allocator>& vec, UnaryPredicate p);
73 template<
typename T,
typename Allocator>
74 inline void fill_n(Vector<T, Allocator>& vec,
size_t n,
const T& val);
76 template<
typename T,
typename Allocator>
77 inline void fill(Vector<T, Allocator>& vec,
const T& val);
79 template<
typename T,
typename Allocator>
80 inline void sort(Vector<T, Allocator>& vec);