diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-04 16:28:35 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-04 16:28:35 +0000 |
commit | 6b34be6adb81ad90b0bf0da0f9c822966e66a314 (patch) | |
tree | 254f4bef2adc264403352a14e56cb5a6e2ad9e13 | |
parent | be84d8d0448f1629dfb802e1040efe9e8b374544 (diff) | |
download | opt-utilities-6b34be6adb81ad90b0bf0da0f9c822966e66a314.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@15 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r-- | core/opt_traits.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/opt_traits.hpp b/core/opt_traits.hpp index c539a63..94b77a8 100644 --- a/core/opt_traits.hpp +++ b/core/opt_traits.hpp @@ -27,7 +27,9 @@ namespace opt_utilities }; template <typename T> - inline typename return_type_trait<typename element_type_trait<T>::element_type>::const_reference_type get_element(const T& x,size_t i) + inline typename + return_type_trait<typename element_type_trait<T>::element_type>:: + const_reference_type get_element(const T& x,size_t i) { return x[i]; } |