<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Duke_mosso</author_name>
  <author_url>https://blog.hatena.ne.jp/Duke_mosso/</author_url>
  <blog_title>自己否定回路 〜駄目サークルの駄目Blog〜</blog_title>
  <blog_url>https://duke-mosso.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C++</anon>
  </categories>
  <description>【環境】Visual Studio.NET 2003/ WindowsXP Pro. Cでビットフィールドに使える宣言子ははunsigned int, signed int, intのみですが、どうもC++では整数型に拡張されているようです。ということはcharやshort、果てはlong long*1までも使えるということです。早速テスト。 struct{ char a : 4; unsigned char b : 3; } test_1; struct{ short a : 15; short b : 1; } test_2; struct{ unsigned long long a : …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fduke-mosso.hatenadiary.org%2Fentry%2F20061002%2Fp2&quot; title=&quot;C++のビットフィールド - 自己否定回路 〜駄目サークルの駄目Blog〜&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-10-02 00:00:02</published>
  <title>C++のビットフィールド</title>
  <type>rich</type>
  <url>https://duke-mosso.hatenadiary.org/entry/20061002/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
