What does 'illegal indirection' mean?
  Home FAQ Contact Sign in
comp.lang.c++ only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.c++ Profile…
 Up
What does 'illegal indirection' mean?         


Author: Lambda
Date: May 16, 2008 06:27

The code is simple:

// Token.h
#ifndef TOKEN_H
#define TOKEN_H

#include
#include
Show full article (1.27Kb)
2 Comments
Re: What does 'illegal indirection' mean?         


Author: Victor Bazarov
Date: May 16, 2008 07:13

Lambda wrote:
> The code is simple:
>
> // Token.h
> #ifndef TOKEN_H
> #define TOKEN_H
>
> #include
> #include
>
> class Token
> {
> public:
> Token() : type("word"), positionIncrement(1), startOffset(0),
> endOffset(0) {}
> void setPositionIncrement(const unsigned int increment)
> {
> positionIncrement = increment;
> }
> unsigned int getPositionIncrement() const ...
Show full article (3.36Kb)
no comments
Re: What does 'illegal indirection' mean?         


Author: Lambda
Date: May 16, 2008 15:36

On May 16, 10:13 pm, Victor Bazarov comAcast.net> wrote:
> Lambda wrote:
>> The code is simple:
>
>> // Token.h
>> #ifndef TOKEN_H
>> #define TOKEN_H
>
>> #include
>> #include
>
>> class Token
>> {
>> public:
>> Token() : type("word"), positionIncrement(1), startOffset(0),
>> endOffset(0) {}
>> void setPositionIncrement(const unsigned int increment)
>> {
>> positionIncrement = increment;
>> } ...
Show full article (3.83Kb)
no comments