"davin.pear...@gmail.com" writes:
> http://davinpearson.com/binaries/string.hh
Your operator< overloads in dmp::string are broken. Possibly other bugs,
I didn’t look any further.
--
https://www.greenend.org.uk/rjk/
___
help-gplusplus mailing list
help
On Tuesday, January 30, 2018 at 4:36:16 AM UTC+13, Richard Kettlewell wrote:
> "davin.pearson" writes:
>
> > The following code generates a linker error:
> [...]
>
> You’ve tried to explicitly instantiate a template, but got the syntax
> wrong. See
> https://gcc.gnu.org/onlinedocs/gcc/Template-In
"davin.pear...@gmail.com" writes:
> The following code generates a linker error:
[...]
You’ve tried to explicitly instantiate a template, but got the syntax
wrong. See
https://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html for
details.
--
https://www.greenend.org.uk/rjk/
__
The following code generates a linker error:
#include
#include
#include
#include
#include
#include
#include
class Writer
{
public:
Writer& operator << (const char* s)
{
for (const char* ch = s; *ch != 0; ++ch)
{
printf("%c",*ch);
}
return *this;
}
Thank you for taking the time to fix my bug. It becomes obvious when the
solution is presented to me.
On Friday, January 26, 2018 at 8:52:06 AM UTC+13, Richard Kettlewell wrote:
> writes:
> > std::ostream& operator << (std::ostream& o, const
> > std::map& map)
> > {
> >typename std::map::it
"davin.pear...@gmail.com" writes:
> std::ostream& operator << (std::ostream& o, const std::map&
> map)
> {
>typename std::map::iterator it = map.begin();
[...]
> cd ~/lisp++-projects && make 2018/map/map5.run
> make: Warning: File '2006/libd/libd.o' has modification time 26862 s in the
> f