|
Revision 2, 393 bytes
(checked in by sergey_shandar, 1 year ago)
|
restoring...
|
| Line | |
|---|
| 1 |
#ifndef CBEAR_BERLIOS_DE_RANGE_AT_HPP_INCLUDED |
|---|
| 2 |
#define CBEAR_BERLIOS_DE_RANGE_AT_HPP_INCLUDED |
|---|
| 3 |
|
|---|
| 4 |
#include <cbear.berlios.de/range/reference.hpp> |
|---|
| 5 |
|
|---|
| 6 |
namespace cbear_berlios_de |
|---|
| 7 |
{ |
|---|
| 8 |
namespace range |
|---|
| 9 |
{ |
|---|
| 10 |
|
|---|
| 11 |
template<class Container, class SizeType> |
|---|
| 12 |
typename reference<const Container>::type at(const Container &X, SizeType I) |
|---|
| 13 |
{ |
|---|
| 14 |
return traits<const Container>::at(X, I); |
|---|
| 15 |
} |
|---|
| 16 |
|
|---|
| 17 |
} |
|---|
| 18 |
} |
|---|
| 19 |
|
|---|
| 20 |
#endif |
|---|
| 21 |
|
|---|