Skip to content

Commit

Permalink
Make element_index() usable in std::tie()
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Dec 3, 2013
1 parent f70f81e commit 91c8db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vexcl/element_index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct elem_index {
#ifdef DOXYGEN
elem_index
#else
inline boost::proto::result_of::as_expr<elem_index, vector_domain>::type
inline boost::proto::result_of::as_expr<elem_index, vector_domain>::type const
#endif
element_index(size_t offset = 0, size_t length = 0) {
return boost::proto::as_expr<vector_domain>(elem_index(offset, length));
Expand Down

0 comments on commit 91c8db5

Please sign in to comment.