Ignore:
Timestamp:
Dec 3, 2019, 10:05:47 PM (5 years ago)
Author:
Dmitry Kobets <dkobets@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
2444324
Parents:
0dedf756
Message:

Fix issue in vec2.hfa from splitting up trait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/vec/vec2.hfa

    r0dedf756 rd131480  
    3838// int
    3939int ?=?(int& n, zero_t) { return n = 0.f; }
    40 int sqrt(int a) { return sqrt((float)a); }
    4140/* float */
    4241void ?{}(float& a, int b) { a = b; }
     
    216215}
    217216
    218 forall(dtype ostype, otype T | writeable(T, ostype) | vec2_t(T)) {
     217forall(dtype ostype, otype T | writeable(T, ostype)) {
    219218    ostype & ?|?( ostype & os, vec2(T) v) with (v) {
    220219        return os | '<' | x | ',' | y | '>';
Note: See TracChangeset for help on using the changeset viewer.