Changes in libcfa/src/vec/vec2.hfa [fd54fef:7d61d1c]
- File:
-
- 1 edited
-
libcfa/src/vec/vec2.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/vec/vec2.hfa
rfd54fef r7d61d1c 1 //2 // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo3 //4 // The contents of this file are covered under the licence agreement in the5 // file "LICENCE" distributed with Cforall.6 //7 // io/types.hfa --8 //9 // Author : Dimitry Kobets10 // Created On :11 // Last Modified By :12 // Last Modified On :13 // Update Count :14 //15 16 1 #pragma once 17 2 … … 19 4 #include "vec.hfa" 20 5 21 forall ( T) {6 forall (otype T) { 22 7 struct vec2 { 23 8 T x, y; … … 25 10 } 26 11 27 forall ( T) {12 forall (otype T) { 28 13 static inline { 29 14 … … 279 264 } 280 265 281 forall( ostype &,T | writeable(T, ostype)) {266 forall(dtype ostype, otype T | writeable(T, ostype)) { 282 267 ostype & ?|?(ostype & os, vec2(T) v) with (v) { 283 268 return os | '<' | x | ',' | y | '>';
Note:
See TracChangeset
for help on using the changeset viewer.