[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 273997] c++ parser does not support multi-index arrays for
From:       Milian Wolff <mail () milianw ! de>
Date:       2011-07-25 18:01:02
Message-ID: E1QlPSg-0008OY-69 () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=273997





--- Comment #2 from Milian Wolff <mail milianw de>  2011-07-25 18:01:01 ---
the reason is apparently the wrong interpretation of the "reference" type in
multi_array_ref:

template <typename T, std::size_t NumDims>
class multi_array_ref :
  public const_multi_array_ref<T,NumDims,T*>
{
  typedef const_multi_array_ref<T,NumDims,T*> super_type;
public: 
  typedef typename super_type::value_type value_type;

  /* ... */

  reference operator[](index idx) { /* ... */  }
};

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic