Boost logo

Boost :

Subject: Re: [boost] [gsoc17] Project1: Static map: Can I implement the competency test in g++-7?
From: Ruoyun Jing (jingry0321_at_[hidden])
Date: 2017-03-05 13:35:19

Hi Zheng Luo,

My name is Ruoyun Jing, a third year student from Northwest University in
China, these is the first time i participate in GSoc. For we come from same
country, :) can i have your wechat or QQ to ask you some questions about
GSoC ?:)

Looking forward from you!!


2017-03-04 0:18 GMT+08:00 Vic Luo via Boost <boost_at_[hidden]>:

> Hi,
> I'm Zheng Luo, a third-year undergraduate from Shanghai Jiaotong
> University who have special interest in C++ programming(especially for
> templates). This is my second year of applying Google Summer of Code and
> I'm willing to contribute to Static Map project mentioned on SoC2017
> page. Previously I worked for a company as a C++ intern for months on
> Chromium-related projects where I gained some experience about C++ in
> industry.
> And my question is, am I allowed to implement the competency test of
> static_map in g++-7? I have just implemented my own version of
> static_map which supports the following operations:
> constexpr StaticMap<int, const char *, 3> m(make_pair(2, "abc"),
> make_pair(4, "def"), make_pair(6, "ghi"));
> if (!m[4])
> abort();
> const char *foo = m[2];
> return 0;
> which is compiled into assembly as:
> main:
> xorl %eax, %eax
> ret
> under g++-7 with -std=c++1z -O3
> So I was wondering did I pass the test?
> Thanks,
> --
> ---------------------------------
> Vic Luo
> Shanghai Jiaotong University
> Key fingerprint 0x98809ca08bf5662a
> _______________________________________________
> Unsubscribe & other changes:
> mailman/listinfo.cgi/boost

Northwest University of China
Software Engineering
jingry0321_at_[hidden] <jingry0321_at_[hidden]>

Boost list run by bdawes at, gregod at, cpdaniel at, john at