// // 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(T) { void ?{}(T&, int); }; trait zeroinit(T) { void ?{}(T&, zero_t); }; trait zero_assign(T) { T ?=?(T&, zero_t); }; trait subtract(T) { T ?-?(T, T); }; trait negate(T) { T -?(T); }; trait add(T) { T ?+?(T, T); }; trait multiply(T) { T ?*?(T, T); }; trait divide(T) { T ?/?(T, T); }; trait lessthan(T) { int ?