[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 30]: Help MSVC with templates
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 30]: Help MSVC with templates |
Date: |
Tue, 17 Oct 2006 22:08:40 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Help MSVC compiler in using the right template
Index: liboctave/oct-inttypes.cc
===================================================================
RCS file: /cvs/octave/liboctave/oct-inttypes.cc,v
retrieving revision 1.3
diff -p -c -r1.3 oct-inttypes.cc
*** liboctave/oct-inttypes.cc 23 May 2006 06:05:14 -0000 1.3
--- liboctave/oct-inttypes.cc 17 Oct 2006 11:07:42 -0000
*************** INSTANTIATE_INTTYPE (uint32_t);
*** 102,109 ****
INSTANTIATE_INTTYPE (uint64_t);
#define INSTANTIATE_INTTYPE_BIN_OP(T1, T2, OP) \
! template octave_int<octave_int_binop_traits<T1, T2>::TR> \
! operator OP (const octave_int<T1>&, const octave_int<T2>&)
#define INSTANTIATE_INTTYPE_BIN_OPS(T1, T2) \
INSTANTIATE_INTTYPE_BIN_OP (T1, T2, +); \
--- 102,109 ----
INSTANTIATE_INTTYPE (uint64_t);
#define INSTANTIATE_INTTYPE_BIN_OP(T1, T2, OP) \
! template OCTAVE_API octave_int<octave_int_binop_traits<T1, T2>::TR> \
! operator OP<T1, T2> (const octave_int<T1>&, const octave_int<T2>&)
#define INSTANTIATE_INTTYPE_BIN_OPS(T1, T2) \
INSTANTIATE_INTTYPE_BIN_OP (T1, T2, +); \
- MSVC compiler support [patch 26]: MinGW code share, (continued)
- MSVC compiler support [patch 26]: MinGW code share, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, David Bateman, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/17
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, Michael Goffioul, 2006/10/18
- Re: MSVC compiler support [patch 27]: OCTAVE_HOME, John W. Eaton, 2006/10/24
- MSVC compiler support [patch 28]: setvbuf crash, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 28]: setvbuf crash, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 29]: Backslash in path, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 29]: Backslash in path, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 30]: Help MSVC with templates,
Michael Goffioul <=
- MSVC compiler support [patch 30]: Help MSVC with templates, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 31]: CHAR_BIT, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 31]: CHAR_BIT, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, Michael Goffioul, 2006/10/27
- Re: MSVC compiler support [patch 32]: ls, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 33]: Help, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 33]: Help, John W. Eaton, 2006/10/25
- MSVC compiler support [patch 34]: sepchar and load_path, Michael Goffioul, 2006/10/17