Search code examples
c++lzma

what is the meaning of this syntax of size_t?


I found this line during debugging lzma decompression but I can not understand what is this line meaning???

 SizeT inSizeCur = inSize, outSizeCur, dicPos;

I know that inSizeCur is variable of type SizeT which is assigned the value of inSize.
but what are , outSizeCur, dicPos??


Solution

  • This line is declaring 3 variables having type SizeT. It is equivalent to:

    SizeT inSizeCur = inSize;
    SizeT outSizeCur;
    SizeT dicPos;