On Saturday, 13 August 2016 at 12:47:40 UTC, Ethan Watson wrote:

                             |  Rust   |  Swift  |    C#   |
-----------------------------|---------+---------+---------|
    Template Constraints     |    Y    |    Y    |  where  | [1]
-----------------------------|---------+---------+---------|
  Template "if" Constraints  |  where  |  where  |  where  |
-----------------------------|---------+---------+---------|
        static if            |    N    |    N    |    N    |
-----------------------------|---------+---------+---------|
     Eponymous templates     |    N    |    N    |    N    |
-----------------------------|---------+---------+---------|
   Compile time reflection   |    N    |    N    |    N    |
-----------------------------|---------+---------+---------|
            CTFE             |    N    |    N    |    N    |
-----------------------------|---------+---------+---------|
   User defined attributes   |  Crates | Runtime |    Y    |
-----------------------------|---------+---------+---------|

Hmm... does "Crates" mean that the feature is available as an optional package on crates.io? Otherwise I fail to see the connection between crates and UDAs...


   Deep function inspection  |    N    |    N    |    N    |
-----------------------------|---------+---------+---------|
           Mixins            |    N    |    N    |    N*   | [2]
-----------------------------|---------+---------+---------|

String mixins or template mixins?

Reply via email to