about summary refs log tree commit diff
path: root/lang/cpptour/abstract.cc
blob: f747a3787405d11d6b524a0956586c4735a00f52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Vector_container:Vector_container (int s) : v (s)
{
}

Vector_container:~Vector_container ()
{
}

double&
Vector_container:operator[] (int i)
{
  return v[i];
}

int
size () const
{
  return v.size ();
}