Ignore:
File:
1 edited

Legend:

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

    r250dbae rfd54fef  
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// io/types.hfa --
     8//
     9// Author           : Dimitry Kobets
     10// Created On       :
     11// Last Modified By :
     12// Last Modified On :
     13// Update Count     :
     14//
     15
    116#pragma once
    217
     
    419#include "vec.hfa"
    520
    6 forall (otype T) {
     21forall (T) {
    722    struct vec4 {
    823        T x, y, z, w;
     
    1025}
    1126
    12 forall (otype T) {
     27forall (T) {
    1328    static inline {
    1429
     
    268283}
    269284
    270 forall(dtype ostype, otype T | writeable(T, ostype)) {
     285forall(ostype &, T | writeable(T, ostype)) {
    271286    ostype & ?|?(ostype & os, vec4(T) v) with (v) {
    272287        return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
Note: See TracChangeset for help on using the changeset viewer.