[Codename Milan] Variadic templates and nested type names - by Brandon Kentel

Status : 


Sign in
to vote
ID 779557 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 2/19/2013 6:28:14 PM
Access Restriction Public


#include <array>
#include <tuple>
template <typename T, unsigned N>
struct attribute {
    typedef std::array<T, N> type;
template <typename Attr, typename... Attrs>
struct attribute_set {
    typedef std::tuple<typename Attr::type, typename Attrs::type...> type;
typedef attribute_set<
    attribute<int, 2>,
    attribute<double, 2>,
    attribute<char, 2>
> my_set_t;
int main(int argc, char const* argv[]) {
    my_set_t::type my_set;
    return 0;
Sign in to post a comment.
Posted by Microsoft on 2/20/2013 at 10:06 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/19/2013 at 6:53 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)