Search

August 09, 2021
Issues »
...size_t front;
      void popFront(){front++;}
      auto empty(){return front >= 100;}
      auto opIndex(size_t...
August 09, 2021
General »
...idx < size()` and anyone using `idx < size() - 1...a language that doesn't let me use...
August 08, 2021
Genel »
...length : 0;
      }
    }

  auto opSlice(size_t boyut) (size_t baş, size_t son) if (boyut...
August 08, 2021
Issues »
...C { int x; }` won't be inferrable by...But it's the size the compiler uses...
August 08, 2021
Issues »
...s unlikely you didn't understand what I...exclusively to calculate the size/alignment for such...
August 08, 2021
Learn »
...MsgBox {
    string[] contents;
    void opIndexAssign(string s, size_t i) {
        if (contents.length <= i)
            contents...
August 07, 2021
General »
...empty())
         {
              return true;
         }

         for (size_t n = 0; n < vec.size() - 1; ++n)
         {
             if (vec...
August 07, 2021
Learn »
If you don't believe me just subtract the adresses yourself:

x.ptr:  7FFFF8D05B90
&x...
August 07, 2021
Learn »
...totally ignoring your 64 byte requirement.

Don't use ```x.PTR%ALIGNMENT```
Use ```(&x[1...
August 07, 2021
General »
...vec.size() yields size_t
2. vec.size() - 1 stays unsigned, if the size was...
139 140 141 142 143 144 145 146 147 148 149
Next ›   Last »