Project

General

Profile

Feature #1682

Expose Arrays' Index Type as a Type Alias

Added by Nils Deppe 28 days ago. Updated 12 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/20/2017
Due date:
% Done:

0%


Description

It would be really convenient if the template parameter to the base class of CBase_ (specifically the T passed to ArrayElementT<T>) was exposed as a type alias (or typedef) inside the CBase_ class, and maybe even the CProxy_.

History

#1 Updated by Eric Bohm 27 days ago

  • Target version changed from 6.8.1 to 6.9.0

Retargeting new feature request to next major version

#2 Updated by Phil Miller 20 days ago

  • Assignee set to Evan Ramos

Good suggestion. We'll try to get it into the next release.

#3 Updated by Evan Ramos 20 days ago

Sounds simple enough. Any suggestions for the name of the typedef?

#4 Updated by Nils Deppe 13 days ago

I'd go with the obvious: array_element_t :)

#5 Updated by Evan Ramos 12 days ago

  • Status changed from New to In Progress

https://charm.cs.illinois.edu/gerrit/3109

I was able to add array_index_t to CProxy_*. Adding it to the base looked impossible (see CBaseT1 in src/ck-core/charm++.h), but you can access the proxy from the base using proxy_t.

Also available in: Atom PDF