Strange compiler errors

Hi,

I'm trying to use the QueueArray class (with some modifications to allow for iteration) in my project. Unfortunately, I keep getting weird compiler errors and I can't seem to understand why. I've cut the program down to the minimum I could to post it here so you can try to compile it and see the errors. If anyone can help me with this I'd greatly appreciate it. (I'm using Arduino 1.0.2).

Thanks!
-m

CompilerBarf1.zip (9.65 KB)

Nevermind. I found that it was because I was misusing templates. I had the template function implementations in a cpp file instead of in the header file.

Thanks,
-m