I've dug through the code and I can't seem to answer this so may someone else can clarify it for me. I have a DynamicDBView<> that is allocated as follows...
I am not 100% certain that I understand why this is happening, but I am certain it causes my application to crash so I'm still digging. I have a DynamicDBView...
As you can tell by the # of posts I've had its been a busy weekend for me. I have a query which should work and does when I build the query myself but fails...
Looks like you've been really busy. I dont use the DynamicDB stuff and I don't tend to use sql_iterator, so I can't really help you here. However, if you can...
... From your example I'm not sure why the BPA is failing. What error message does it give? ... This one I think I can tell you. If you use std::string DTL...
Hi, I've been having some problems with a boolean field. I'm not sure where the problem is or where the fault lies, but basically every now and then I find...
Hi again, I have problems with a pretty basic test (now added to cvs in test_iterators.h) In before = begin; ++begin; assert(before != begin); this fails....
Interesting. What happens if you compare begin and end the other way round: assert(end != begin !); There was a problem with incrementing an iterator without...
... same thing, I assume, because its not the order that is interesting, but the fact that it works if its the first time its compared. ... what fix? I'm...
I'm not sure what you are expecting to see here. This behaviour looks correct to me. ... OK. The iterator has now been opened and the resulting rowset is not ...
... Actually, != should return TRUE. (before==begin) should return false. However, if you run the test, you'll see that at the last point, before==begin -...
OK. I see your point, but I am still OK with the current logic. When we copy a select_iterator what happens is this: 1. We copy the value (if any) that is...
Ok, I can see your point too. However, the problem is that many STL algorithms will silently fail to work correctly. I'm not sure what the solution is, we...
This discussion makes me wonder if std::distance() works with select iterators, does anyone know? The reason I ask is that for input forward iterators...
In short: As long as you want the distance from begin to end, you are ok. Copying an end() iterator is ok because theres a flag that is perfectly copied....
... here's what I was trying to do: template <class In, class Out, class Compare> Out copy_duplicates(In begin, In end, Out out, Compare compare) { while...
I don't see an easy solution for comparing select iterators that DTL can implement. Though it does occur to me that it could off the option of the user...
The problem is not comparing select_iterators, Corwin has already got that down no worries. The problem is what do you copy when you copy iterators? From what...
I think there are a couple of threads here. Firstly if comparing iterators works just fine then I would expect std::distance(begin, any) to work just fine, but...
... not really, because: template <class In> int distance( In begin, In end ) { int i = 0; for ( ; begin != end; ++begin, ++i ); return i; } If you do this: ...
... I think you are expecting select_iterator to do something here that it does not provide a guarantee for. As we say in the docs, a select iterator is just...
Paul, I had a look at your tests in dtl_posix_time.cpp but I could not get your classes to compile. I am using boost 1_30_0 , VC 6.0 and STLport to be a...
none.hpp moved to boost/none.hpp in version 1.32.0 i think. Might want to upgrade? Otherwise, give me 30 mins and i'll find where none.hpp was in 1.30.0 and...
Ok, thanks for your patience. I use g++ 3.3 or 3.4, which was released after boost-1.30.0 (It compiles correctly, with warnings). So I installed gcc 3.0.4...
Hi all, I have been using DTL for some time, and it' a great library. Now I have started to rewrite some code, and I ran into the following problem. I'm using...
... <snip> ... aah of course... this makes sense, i stand corrected. ... so the only solution is to either drag all the rows down at the start, or drag them...
Hi Stefan, This is an nuisance with IndexedDBView that Mike and I need to make clearer in the docs. If you do a find versus an alternate index, then you need...