// // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // io/types.hfa -- // // Author : Dimitry Kobets // Created On : // Last Modified By : // Last Modified On : // Update Count : // #pragma once #include trait fromint(otype T) { void ?{}(T&, int); }; trait zeroinit(otype T) { void ?{}(T&, zero_t); }; trait zero_assign(otype T) { T ?=?(T&, zero_t); }; trait subtract(otype T) { T ?-?(T, T); }; trait negate(otype T) { T -?(T); }; trait add(otype T) { T ?+?(T, T); }; trait multiply(otype T) { T ?*?(T, T); }; trait divide(otype T) { T ?/?(T, T); }; trait lessthan(otype T) { int ?