Search:
Type: Posts; User: katastrofa
Search:
Search took 0.02 seconds.
-
December 9th, 2011, 03:32 PM
Thanks for trying :) I didn't expect any definite answer, just some pointers in a probable direction.
-
December 9th, 2011, 03:26 PM
This is a DLL which is used by an Excel XLL addin. The breakpoints are usually in the middle of some computations. No dialogs are called, in fact it's not linking to any Windows libraries (except the...
-
December 9th, 2011, 03:15 PM
The IDE simply hangs up - stops reacting to key presses or mouse clicks.
Another thing which also happens sometimes (before the hangup) is that "Locals" window of the debugger does not display any...
-
December 8th, 2011, 09:50 AM
Hi,
I have a weird problem: when debugging the code in Visual Studio 2008 C++ Professional, the debugger hangs when I stop at a breakpoint and do nothing for a few minues. It only happens in one...
-
September 2nd, 2011, 04:26 AM
I'm not sure about the tightness, but I think that templates make it easier to create an entangled mess of dependencies. If my class implements an abstract OO interface, I see it here and now because...
-
September 1st, 2011, 03:45 AM
@superbonzo
That's not what I mean. In the code below,
template <class X> class A
{
public:
void do();
-
September 1st, 2011, 03:26 AM
I think the argument about monolithicity of templated code can be justified as follows: if my code uses *only* templates (no OO) the dependencies on template parameters are viral, i.e. if code A is...
-
September 1st, 2011, 02:51 AM
Thanks. The code does need additional refactoring to make it simpler, I plan this as Phase 2.
Thanks, I didn't think about this -- I was rather treating the template parameters as...
-
August 31st, 2011, 10:11 AM
Hi Paul,
the problem is not with using the library per se (we had some issues with its interface but we're fixing them and it's a much easier problem to solve). The problem is with modifying it --...
-
August 31st, 2011, 09:42 AM
We have already noticed a decrease in build times after removing some templates. We expect that it will be the case after more changes as well.
The code is so hard to maintain now that leaving it...
-
August 31st, 2011, 09:21 AM
15-20 minutes for debug build, about 1h for release build. There is also the cost of a really big DLL coming out at the end.
I don't think so: we removed some of the templates already and there...
-
August 31st, 2011, 05:16 AM
The decision to re-factor the code has been already made. For a number of reasons I think it is the correct one.
In most cases, the whole class is templated. Splitting out the code which could...
-
August 31st, 2011, 04:55 AM
@superbonzo
Thanks for the answer, but don't I just increase my problem of long build times? I had Calculator<Socket> template (N classes), now I have PolymorphicCalculator<Socket> and...
-
August 31st, 2011, 04:15 AM
Hi,
I am working on a quite complex C++ code base which was designed around the principle of compile-time polymorphism (using template instead of virtual despatch to implement interfaces). A...
|
Click Here to Expand Forum to Full Width
|