~ubuntu-branches/ubuntu/utopic/libthrust/utopic

« back to all changes in this revision

Viewing changes to iterator/detail/constant_iterator_base.h

  • Committer: Package Import Robot
  • Author(s): Andreas Beckmann
  • Date: 2013-07-10 12:57:33 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130710125733-my19jic71sqsabaj
Tags: 1.7.0-1
* New upstream release.  (Closes: #715362)
* Update watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
  // *(iter + i)
43
43
  typedef value_type         reference;
44
44
 
45
 
  typedef const value_type * pointer;
46
 
 
47
45
  // the incrementable type is int unless otherwise specified
48
 
  typedef typename thrust::experimental::detail::ia_dflt_help<
 
46
  typedef typename thrust::detail::ia_dflt_help<
49
47
    Incrementable,
50
48
    thrust::detail::identity_<int>
51
49
  >::type incrementable;
56
54
    thrust::random_access_traversal_tag
57
55
  > base_iterator;
58
56
 
59
 
  typedef typename thrust::experimental::iterator_adaptor<
 
57
  typedef typename thrust::iterator_adaptor<
60
58
    constant_iterator<Value, Incrementable, System>,
61
59
    base_iterator,
62
 
    pointer,
63
 
    value_type,
 
60
    value_type, // XXX we may need to pass const value_type here as boost counting_iterator does
64
61
    typename thrust::iterator_system<base_iterator>::type,
65
62
    typename thrust::iterator_traversal<base_iterator>::type,
66
63
    reference