/usr/include/givaro/givcaster.h is in libgivaro-dev 3.7.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | // ==========================================================================
// Copyright(c)'2012 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// file: givcaster.h
// Time-stamp: <21 May 12 15:35:16 Jean-Guillaume.Dumas@imag.fr>
// ==========================================================================
/** @file givcaster.h
* @ingroup system
* @brief NO DOC
*/
#ifndef __GIVARO_givcaster_H
#define __GIVARO_givcaster_H
namespace Givaro {
template <typename Target, typename Source>
Target& Caster (Target& t, const Source& s) {
return t = static_cast<Target>(s);
}
}
#endif // __GIVARO_caster_H
// vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
|