git-svn-id: svn://db.shs.com.ru/pip@142 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -33,7 +33,7 @@ class PIMathMatrixT;
|
||||
|
||||
#define PIMV_FOR(v, s) for (uint v = s; v < Size; ++v)
|
||||
|
||||
#pragma pack(push, 1)
|
||||
//#pragma pack(push, 1)
|
||||
template<uint Size, typename Type = double>
|
||||
class PIP_EXPORT PIMathVectorT {
|
||||
typedef PIMathVectorT<Size, Type> _CVector;
|
||||
@@ -113,7 +113,7 @@ private:
|
||||
Type c[Size];
|
||||
|
||||
};
|
||||
#pragma pack(pop)
|
||||
//#pragma pack(pop)
|
||||
|
||||
template<uint Size, typename Type>
|
||||
inline std::ostream & operator <<(std::ostream & s, const PIMathVectorT<Size, Type> & v) {s << '{'; PIMV_FOR(i, 0) {s << v[i]; if (i < Size - 1) s << ", ";} s << '}'; return s;}
|
||||
|
||||
Reference in New Issue
Block a user