Aliases for classes used by clients to reduce templating clutter #172
Labels
state: inactive
Issue is abandoned, but might become relavent at some point
type: feature
Brand new functionality, features, workflows, endpoints, etc
SparseBase is highly templated to allow users maximum freedom when defining their objects. However, with all this templating, code starts becoming cluttered and hard to understand. For this reason, we will define new aliases for client-facing classes and functions in which templated arguments are part of the alias name. For example, instead of the code in Snippet A below, the user can use Snippet B:
In the current model of using the library, the only part of the API that the client will have to use is a) functions in Bases and b) Format classes. The former category, with the exception of IOBase, does not require template arguments as they are deduced from the input. The latter category requires explicit template arguments. Therefore, we will add aliases for Format classes and IOBase functions only.
Google's C++ Style Guide has some details on good aliasing behavior.
The text was updated successfully, but these errors were encountered: